From 553bbac36bdc483135a7053ca64507e01397e5e1 Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Mon, 9 Sep 2024 23:03:49 +0200 Subject: add package manager recognition --- Cargo.toml | 33 ++++++++++++++++++++++++++++----- 1 file changed, 28 insertions(+), 5 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 629f6a6..31a210e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,18 +1,41 @@ [package] name = "arbs" -version = "0.1.0" edition = "2021" +version = "0.1.0" [dependencies] anyhow = "1.0.86" color-eyre = "0.6.3" -config = "0.14.0" +dirs = "5.0.1" gethostname = "0.5.0" -serde = { version = "1.0.209", features = ["derive"] } serde_json = "1.0.128" thiserror = "1.0.63" toml = "0.8.19" tracing = "0.1.40" tracing-appender = "0.2.3" -tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } -uuid = { version = "1.10.0", features = ["v4"] } + +[dependencies.clap] +version = "4.5.17" +features = ["derive"] + +[dependencies.config] +version = "0.14.0" +features = ["ini", "toml", "json5", "ron", "json", "convert-case", "async"] +default-features = false + +[dependencies.serde] +version = "1.0.209" +features = ["derive"] + +[dependencies.tracing-subscriber] +version = "0.3.18" +features = ["env-filter"] + +[dependencies.uuid] +version = "1.10.0" +features = ["v4"] + +[features] +default = ["pacman", "portage"] +pacman = [] +portage = [] -- cgit v1.2.3