From 8d43e658cbe9d56b561488c31eda6c0ac73bcb4f Mon Sep 17 00:00:00 2001 From: Fina Wilke Date: Sat, 7 Sep 2024 18:56:30 +0200 Subject: [PATCH] cargo: Remove unused log dependency --- Cargo.lock | 2 -- Cargo.toml | 5 ++--- cli/Cargo.toml | 7 ++++--- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 60009fa3..c4481180 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1720,7 +1720,6 @@ dependencies = [ "hkdf", "if-addrs", "libc", - "log", "noise-protocol", "noise-rust-crypto", "percent-encoding", @@ -1759,7 +1758,6 @@ dependencies = [ "env_logger", "futures", "indicatif", - "log", "magic-wormhole", "number_prefix", "qr2term", diff --git a/Cargo.toml b/Cargo.toml index 7da0d0d8..0b3b7c15 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -93,7 +93,6 @@ sha2 = { workspace = true } hkdf = { workspace = true } hex = { workspace = true, features = ["serde"] } rand = { workspace = true } -log = { workspace = true } base64 = { workspace = true } time = { workspace = true, features = ["formatting"] } @@ -104,7 +103,7 @@ futures = { workspace = true } url = { workspace = true, features = ["serde"] } percent-encoding = { workspace = true } -tracing = { workspace = true, features = ["log", "log-always"]} +tracing = { workspace = true, features = ["log", "log-always"] } # Transit dependencies @@ -143,7 +142,7 @@ getrandom = { version = "0.2.5", features = ["js"] } # for some tests [dev-dependencies] -test-log = { workspace = true} +test-log = { workspace = true } eyre = { workspace = true } [features] diff --git a/cli/Cargo.toml b/cli/Cargo.toml index de23ec8d..b85ec191 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -21,7 +21,6 @@ path = "src/main.rs" serde = { workspace = true, features = ["rc"] } serde_json = { workspace = true } serde_derive = { workspace = true } -log = { workspace = true } url = { workspace = true, features = ["serde"] } futures = { workspace = true } async-std = { workspace = true, features = ["attributes", "unstable"] } @@ -39,9 +38,11 @@ color-eyre = { workspace = true } number_prefix = { workspace = true } ctrlc = { workspace = true } qr2term = { workspace = true } -arboard = { workspace = true, features = ["wayland-data-control"] } # Wayland by default, fallback to X11. +arboard = { workspace = true, features = [ + "wayland-data-control", +] } # Wayland by default, fallback to X11. tracing = { workspace = true, features = ["log", "log-always"] } -tracing-subscriber = { workspace=true, features = ["env-filter"] } +tracing-subscriber = { workspace = true, features = ["env-filter"] } [dev-dependencies] trycmd = { workspace = true }