This repository was archived by the owner on Aug 16, 2021. It is now read-only.
This repository was archived by the owner on Aug 16, 2021. It is now read-only.
Separate backtrace and std features? #127
Open
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 frombacktrace
andstd
- or have the
std
feature not depend onbacktrace
?
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?
Metadata
Metadata
Assignees
Labels
No labels