Skip to content

Commit 9d707e4

Browse files
committed
chore: remove log, env_logger, and pretty_env_logger
1 parent 7e69050 commit 9d707e4

File tree

6 files changed

+0
-45
lines changed

6 files changed

+0
-45
lines changed

Cargo.lock

Lines changed: 0 additions & 29 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ crates-io = { version = "0.38.0", path = "crates/crates-io" }
3434
criterion = { version = "0.5.1", features = ["html_reports"] }
3535
curl = "0.4.44"
3636
curl-sys = "0.4.65"
37-
env_logger = "0.10.0"
3837
filetime = "0.2.21"
3938
flate2 = { version = "1.0.26", default-features = false, features = ["zlib"] }
4039
fwdansi = "1.1.0"
@@ -58,7 +57,6 @@ lazy_static = "1.4.0"
5857
lazycell = "1.3.0"
5958
libc = "0.2.147"
6059
libgit2-sys = "0.15.2"
61-
log = "0.4.19"
6260
memchr = "2.5.0"
6361
miow = "0.6.0"
6462
opener = "0.6.1"
@@ -69,7 +67,6 @@ pathdiff = "0.2"
6967
percent-encoding = "2.3"
7068
pkg-config = "0.3.27"
7169
pretty_assertions = "1.4.0"
72-
pretty_env_logger = "0.5.0"
7370
proptest = "1.2.0"
7471
pulldown-cmark = { version = "0.9.3", default-features = false }
7572
rand = "0.8.5"
@@ -134,7 +131,6 @@ clap = { workspace = true, features = ["wrap_help"] }
134131
crates-io.workspace = true
135132
curl = { workspace = true, features = ["http2"] }
136133
curl-sys.workspace = true
137-
env_logger.workspace = true
138134
filetime.workspace = true
139135
flate2.workspace = true
140136
git2.workspace = true
@@ -155,13 +151,11 @@ jobserver.workspace = true
155151
lazycell.workspace = true
156152
libc.workspace = true
157153
libgit2-sys.workspace = true
158-
log.workspace = true
159154
memchr.workspace = true
160155
opener.workspace = true
161156
os_info.workspace = true
162157
pasetors.workspace = true
163158
pathdiff.workspace = true
164-
pretty_env_logger = { workspace = true, optional = true }
165159
pulldown-cmark.workspace = true
166160
rand.workspace = true
167161
rustfix.workspace = true
@@ -222,6 +216,5 @@ doc = false
222216
[features]
223217
vendored-openssl = ["openssl/vendored"]
224218
vendored-libgit2 = ["libgit2-sys/vendored"]
225-
pretty-env-logger = ["pretty_env_logger"]
226219
# This is primarily used by rust-lang/rust distributing cargo the executable.
227220
all-static = ['vendored-openssl', 'curl/static-curl', 'curl/force-system-lib-on-osx']

crates/cargo-util/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ filetime.workspace = true
1414
hex.workspace = true
1515
jobserver.workspace = true
1616
libc.workspace = true
17-
log.workspace = true
1817
same-file.workspace = true
1918
shell-escape.workspace = true
2019
tempfile.workspace = true

crates/xtask-bump-check/Cargo.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ anyhow.workspace = true
99
cargo.workspace = true
1010
cargo-util.workspace = true
1111
clap.workspace = true
12-
env_logger.workspace = true
1312
git2.workspace = true
14-
log.workspace = true
1513
tracing.workspace = true
1614
tracing-subscriber.workspace = true

crates/xtask-bump-check/src/main.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
mod xtask;
22

33
fn main() {
4-
env_logger::init_from_env("CARGO_LOG");
54
setup_logger();
65

76
let cli = xtask::cli();

src/bin/cargo/main.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ mod commands;
2020
use crate::command_prelude::*;
2121

2222
fn main() {
23-
#[cfg(feature = "pretty-env-logger")]
24-
pretty_env_logger::init_custom_env("CARGO_LOG");
25-
#[cfg(not(feature = "pretty-env-logger"))]
26-
env_logger::init_from_env("CARGO_LOG");
27-
2823
setup_logger();
2924

3025
let mut config = cli::LazyConfig::new();

0 commit comments

Comments
 (0)