Skip to content

Commit

Permalink
Merge pull request #359 from shepmaster/std-backtrace-no-crate
Browse files Browse the repository at this point in the history
Do not require the backtrace crate when using backtraces-impl-std
  • Loading branch information
shepmaster committed Oct 2, 2022
2 parents 8e21b39 + 9102578 commit c4010db
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
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
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 c4010db

Please sign in to comment.