diff --git a/Cargo.lock b/Cargo.lock index ce8c13b..b1a3c32 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -227,6 +227,7 @@ dependencies = [ "color-thief", "event-listener", "futures", + "getrandom", "gettext-rs", "glib", "glib-build-tools", @@ -301,8 +302,6 @@ dependencies = [ "cexpr", "clang-sys", "itertools", - "log", - "prettyplease", "proc-macro2", "quote", "regex", @@ -2009,6 +2008,7 @@ dependencies = [ "serde", "sha2", "subtle", + "tracing", "zbus 4.4.0", "zeroize", "zvariant 4.2.0", @@ -2177,16 +2177,6 @@ dependencies = [ "zerocopy", ] -[[package]] -name = "prettyplease" -version = "0.2.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64d1ec885c64d0457d564db4ec299b2dae3f9c02808b8ad9c3a089c591b18033" -dependencies = [ - "proc-macro2", - "syn", -] - [[package]] name = "proc-macro-crate" version = "3.2.0" @@ -3111,6 +3101,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" dependencies = [ "nu-ansi-term", + "parking_lot", "sharded-slab", "smallvec", "thread_local", @@ -3811,7 +3802,6 @@ version = "5.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a1200ee6ac32f1e5a312e455a949a4794855515d34f9909f4a3e082d14e1a56f" dependencies = [ - "chrono", "endi", "enumflags2", "serde", diff --git a/Cargo.toml b/Cargo.toml index 0ebfb32..dda9e04 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,56 +4,72 @@ version = "0.1.0" # AUDREY_VERSION edition = "2021" [dependencies] -adw = { version = "0.7.0", package = "libadwaita", features = ["v1_6"] } -bytes = "1.8.0" -chrono = { version = "0.4.38", features = ["serde", "std"], default-features = false } -color-thief = "0.2.2" -event-listener = "5.3.1" -futures = "0.3.31" -gettext-rs = { version = "0.7.2", features = ["gettext-system"] } -glib = { version = "0.20.6", features = ["log", "v2_82"] } -gtk = { version = "0.9.2", package = "gtk4", features = ["v4_16"] } -http-cache = { version = "0.20.0", default-features = false, features = [ +adw = { version = "0.7", package = "libadwaita", features = ["v1_6"] } +glib = { version = "0.20", features = ["log"] } +gtk = { version = "0.9", package = "gtk4", features = ["gnome_47"] } + +bytes = "1.8" +chrono = { version = "0.4", features = [ + "std", + "serde", +], default-features = false } +color-thief = "0.2" +event-listener = "5.3" +futures = { version = "0.3", default-features = false, features = ["std"] } +getrandom = { features = ["linux_disable_fallback"], version = "0.2" } +gettext-rs = { version = "0.7", features = ["gettext-system"] } +http-cache = { version = "0.20", default-features = false, features = [ "cacache", "cacache-tokio", "manager-cacache", ] } -http-cache-reqwest = "0.15.0" -image = { version = "0.25.5", default-features = false, features = [ +http-cache-reqwest = "0.15" +image = { version = "0.25", default-features = false, features = [ "jpeg", "png", "webp", ] } -oo7 = "0.3.3" -rand = "0.8" -reqwest = { version = "0.12.9", default-features = false, features = [ +oo7 = { version = "0.3", default-features = false, features = [ + "async-std", + "native_crypto", +] } +rand = { version = "0.8", default-features = false, features = [ + "std", + "std_rng", + "getrandom", +] } +reqwest = { version = "0.12", default-features = false, features = [ "charset", "gzip", "json", "http2", "rustls-tls-native-roots", ] } -reqwest-middleware = { version = "0.4.0", features = [ +reqwest-middleware = { version = "0.4", features = [ "json", "http2", "charset", ] } -serde = { version = "1.0.214", features = ["derive"] } -serde_json = "1.0.133" +serde = { version = "1.0", features = ["derive"] } +serde_json = "1.0" tokio = { version = "1", features = ["parking_lot", "rt-multi-thread", "sync"] } -tracing = { version = "0.1.40", default-features = false, features = [ +tracing = { version = "0.1", default-features = false, features = [ "attributes", "std", ] } -tracing-subscriber = "0.3.18" -url = { version = "2.5.2", features = ["serde"] } -xdg = "2.5.2" -zbus = { version = "5.0.1", features = ["chrono"] } +tracing-subscriber = { version = "0.3", features = ["parking_lot"] } +url = "2.5" +xdg = "2.5" +zbus = { version = "5.0", default-features = false, features = ["async-io"] } [build-dependencies] -bindgen = "0.70.1" +bindgen = { version = "0.70", default-features = false, features = ["runtime"] } glib-build-tools = "0.20.0" +[features] +default = ["debug"] +debug = ["oo7/tracing"] + [profile.dev] split-debuginfo = "unpacked"