Cargo Features
gix-error has no features set by default.
[dependencies]
gix-error = { version = "0.2.0", features = ["anyhow", "auto-chain-error", "tree-error", "document-features"] }
- anyhow
-
The
Exntype converts toanyhow::Errornatively so?can be used directly.Otherwise, it would have to be manually converted via
into_box()orinto_inner().Enables anyhow
- auto-chain-error
-
The
Errortype is always flattening theExnerror tree into a chain of errors, while keeping their locations and runtime type-information. - tree-error
-
The opposite of
auto-chain-errorand implicitly enabled by default. Use it to overrideauto-chain-error.
Features from optional dependencies
- document-features implicit feature
-
Enables document-features
document-features:
Extract documentation for the feature flags from comments in Cargo.toml