From 9102578f17a900c299af29490c12cf7d9d3bbed1 Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Fri, 30 Sep 2022 10:58:39 -0400 Subject: [PATCH] Do not require the backtrace crate when using backtraces-impl-std --- Cargo.toml | 2 +- src/guide/feature_flags.md | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 0b91a7a9..80b4f1ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ backtraces-impl-backtrace-crate = ["backtraces"] unstable-backtraces-impl-std = ["backtraces-impl-std", "snafu-derive/unstable-backtraces-impl-std"] # The backtrace type becomes `std::backtrace::Backtrace` -backtraces-impl-std = ["backtraces"] +backtraces-impl-std = [] # The std::error::Error provider API will be implemented. unstable-provider-api = ["snafu-derive/unstable-provider-api"] diff --git a/src/guide/feature_flags.md b/src/guide/feature_flags.md index aba96650..4f4e89b7 100644 --- a/src/guide/feature_flags.md +++ b/src/guide/feature_flags.md @@ -111,12 +111,6 @@ this feature will no longer be supported and will be removed.
Default
disabled
-
Implies
-
- -[`backtraces`](#backtraces) - -
When enabled, the SNAFU [`Backtrace`] type becomes an alias to the