diff options
| author | Christian Legnitto <christian@legnitto.com> | 2025-05-01 07:40:43 -0400 |
|---|---|---|
| committer | Christian Legnitto <christian@legnitto.com> | 2025-05-01 07:45:47 -0400 |
| commit | 60218be5e997a9d6ced4857cc13cd9441d5c3e40 (patch) | |
| tree | 512f0c776a197b60ccedc131aba4e2dc84405eb9 | |
| parent | 7188f453111502962326022740e2657fce0a6939 (diff) | |
| download | rust-60218be5e997a9d6ced4857cc13cd9441d5c3e40.tar.gz rust-60218be5e997a9d6ced4857cc13cd9441d5c3e40.zip | |
Remove backtrace dep from anyhow in features status dump tool
According to `anyhow`'s Cargo.toml: > On compilers older than 1.65, features=["backtrace"] may be used to enable > backtraces via the `backtrace` crate. This feature has no effect on 1.65+ > besides bringing in an unused dependency, as `std::backtrace` is always > preferred. So this is just bringing in an unused dependency.
| -rw-r--r-- | Cargo.lock | 3 | ||||
| -rw-r--r-- | src/tools/features-status-dump/Cargo.toml | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/Cargo.lock b/Cargo.lock index 60daa453c60..b06119bc092 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -161,9 +161,6 @@ name = "anyhow" version = "1.0.97" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f" -dependencies = [ - "backtrace", -] [[package]] name = "ar_archive_writer" diff --git a/src/tools/features-status-dump/Cargo.toml b/src/tools/features-status-dump/Cargo.toml index 35be71a46e5..b2976f14a01 100644 --- a/src/tools/features-status-dump/Cargo.toml +++ b/src/tools/features-status-dump/Cargo.toml @@ -5,7 +5,7 @@ license = "MIT OR Apache-2.0" edition = "2021" [dependencies] -anyhow = { version = "1", features = ["backtrace"] } +anyhow = { version = "1" } clap = { version = "4", features = ["derive"] } serde = { version = "1.0.125", features = [ "derive" ] } serde_json = "1.0.59" |
