This repository was archived by the owner on Aug 16, 2021. It is now read-only.

Description
In Cargo.toml, the std feature depends on backtrace. Is there a technical reason this is required, or would it be possible to implement Fail for StdError without depending on backtrace?
We have a use case in dotenv for using failure crate with std error types as #[cause]s, but it would be ideal if we didn't pull in all of the backtrace crate.
Would it be possible to either:
- add a new feature for
impl<E: StdError + Send + Sync + 'static> Fail for E {} separate from backtrace and std
- or have the
std feature not depend on backtrace?
I'd be willing to submit a PR doing this if it's something you'd want to add, but there might be some other thing blocking it that I'm not aware of?