From d44041040d755306c39d6de8da5b42d7ded6808c Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Wed, 25 Sep 2024 15:13:34 +0200 Subject: added notifications and improved stuff --- Cargo.toml | 38 +++++++++++++------------------------- 1 file changed, 13 insertions(+), 25 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 9fcca11..9a24ac3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,33 +3,21 @@ name = "arbs" edition = "2021" version = "0.1.0" +[features] +default = ["notifications"] +notifications = ["dep:notify-rust"] + [dependencies] -color-eyre = "0.6.3" dirs = "5.0.1" gethostname = "0.5.0" -serde_json = "1.0.128" +notify-rust = { version = "4.11.3", optional = true} +serde_json = { default-features = false, version = "1.0.128" } thiserror = "1.0.63" -toml = "0.8.19" -tracing = "0.1.40" +toml = { default-features = false, version = "0.8.19" } +tracing = { default-features = false, version = "0.1.40" } tracing-appender = "0.2.3" - -[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"] +clap = { version = "4.5.17", features = ["derive"] } +config = { version = "0.14.0" } +serde = { version = "1.0.209", features = ["derive"] } +tracing-subscriber = { version = "0.3.18", features = ["env-filter"] } +uuid = { version = "1.10.0", features = ["v4"] } -- cgit v1.2.3