about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-05-03 08:45:03 +0200
committerGitHub <noreply@github.com>2025-05-03 08:45:03 +0200
commitb803f45e1f7dfe117a3a945702d3114e1d5f2ba5 (patch)
tree67a167e158e1e2bd64c4c3950f79dc0665804e4f /src
parent9ff74555518b9fc740d25fe6e39b0e2e7b890eb4 (diff)
parent60218be5e997a9d6ced4857cc13cd9441d5c3e40 (diff)
downloadrust-b803f45e1f7dfe117a3a945702d3114e1d5f2ba5.tar.gz
rust-b803f45e1f7dfe117a3a945702d3114e1d5f2ba5.zip
Rollup merge of #140546 - LegNeato:anyhowbacktrace, r=jieyouxu
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"