Skip to content

Commit

Permalink
ref(anyhow): Disable anyhow's backtrace feature
Browse files Browse the repository at this point in the history
Since anyhow 1.0.77, backtrace dependency is not needed for
Rust 1.65+ (https://github.com/dtolnay/anyhow/releases/tag/1.0.77).
Because sentry has a higher MSRV than that, it's no longer necessary
to enable this feature.
  • Loading branch information
KamilaBorowska committed Dec 27, 2023
1 parent 02b708a commit f74e622
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 20 deletions.
33 changes: 15 additions & 18 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions sentry-anyhow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ rust-version = "1.68"

[features]
default = ["backtrace"]
backtrace = ["anyhow/backtrace"]
backtrace = []

[dependencies]
sentry-backtrace = { version = "0.32.1", path = "../sentry-backtrace" }
sentry-core = { version = "0.32.1", path = "../sentry-core" }
anyhow = "1.0.39"
anyhow = "1.0.77"

[dev-dependencies]
sentry = { path = "../sentry", default-features = false, features = ["test"] }

0 comments on commit f74e622

Please sign in to comment.