Skip to content

Commit

Permalink
Do not require the backtrace crate when using backtraces-impl-std
Browse files Browse the repository at this point in the history
  • Loading branch information
shepmaster committed Oct 1, 2022
1 parent 54fb7a9 commit 9102578
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
6 changes: 0 additions & 6 deletions src/guide/feature_flags.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,12 +111,6 @@ this feature will no longer be supported and will be removed.
<dl class="snafu-ff-meta">
<dt>Default</dt>
<dd>disabled</dd>
<dt>Implies</dt>
<dd>

[`backtraces`](#backtraces)

</dd>
</dl>

When enabled, the SNAFU [`Backtrace`] type becomes an alias to the
Expand Down

0 comments on commit 9102578

Please sign in to comment.