Skip to content

Commit 51a48bc

Browse files
authored
Merge pull request #438 from DanielEScherzer/patch-1
Remove backtrace dependency, always unused
2 parents d5bb36e + a597188 commit 51a48bc

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

Cargo.toml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,9 @@ rust-version = "1.68"
1414
[features]
1515
default = ["std"]
1616
std = []
17-
18-
[dependencies]
19-
# On compilers older than 1.65, features=["backtrace"] may be used to enable
20-
# backtraces via the `backtrace` crate. This feature has no effect on 1.65+
21-
# besides bringing in an unused dependency, as `std::backtrace` is always
22-
# preferred.
23-
backtrace = { version = "0.3.51", optional = true }
17+
# Compatibility with the old backtrace optional dependency; allow
18+
# specifying backtrace as a feature without breaking
19+
backtrace = []
2420

2521
[dev-dependencies]
2622
futures = { version = "0.3", default-features = false }

0 commit comments

Comments
 (0)