about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorChristian Legnitto <christian@legnitto.com>2025-05-01 07:40:43 -0400
committerChristian Legnitto <christian@legnitto.com>2025-05-01 07:45:47 -0400
commit60218be5e997a9d6ced4857cc13cd9441d5c3e40 (patch)
tree512f0c776a197b60ccedc131aba4e2dc84405eb9 /src
parent7188f453111502962326022740e2657fce0a6939 (diff)
downloadrust-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.
Diffstat (limited to 'src')
-rw-r--r--src/tools/features-status-dump/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
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"