Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

Make backtrace-sys optional #314

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vi
Copy link

@vi vi commented May 15, 2019

Resolves #313.

@vi
Copy link
Author

vi commented May 15, 2019

For this to work reliably, libraries (but not apps) depending on failure should use default-features=false, features=["std"].

Alternative is not to include default = [..., "backtrace/default"].

There can be a separate dummy crate like failure-backtrace that just enables backtrace/default, for app developers to cargo add easily. Or users may be instructed to depend on backtrace directly to get enable backtraces in failure.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Should backtrace dependency be optional?
1 participant