Skip to content

Commit

Permalink
Add backtrace feature to anyhow
Browse files Browse the repository at this point in the history
Improved backtrace support for errors in Rust is currently in progress:
rust-lang/rust#53487. Adding the feature lets
anyhow add backtraces already which greatly improves readability of
errors in tests.
  • Loading branch information
fabianlindfors committed Jan 3, 2022
1 parent 24c3f28 commit 1ddfe95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ postgres = { version = "0.19.2", features = ["with-serde_json-1"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
typetag = "0.1.7"
anyhow = "1.0.44"
anyhow = { version = "1.0.44", features = ["backtrace"] }
clap = { version = "3.0.0", features = ["derive"] }
toml = "0.5"
version = "3.0.0"
Expand Down

0 comments on commit 1ddfe95

Please sign in to comment.