Skip to content

Commit

Permalink
Make backtrace-sys optional
Browse files Browse the repository at this point in the history
  • Loading branch information
vi committed May 15, 2019
1 parent 7b7d03c commit 04e8ba5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ path = "./failure_derive"
[dependencies.backtrace]
optional = true
version = "0.3.3"
default-features = false
features=["std"]

[workspace]
members = [".", "failure_derive"]

[features]
default = ["std", "derive"]
default = ["std", "derive", "backtrace/default"]
#small-error = ["std"]
std = ["backtrace"]
derive = ["failure_derive"]

0 comments on commit 04e8ba5

Please sign in to comment.