Cargo Features
[dependencies]
file_wrap = { version = "0.2.0", default-features = false, features = ["use_failure"] }
- default = use_failure
-
The
use_failure
feature is set by default wheneverfile_wrap
is added without
somewhere in the dependency tree.default-features = false - use_failure default = failure, failure_derive
-
Affects
file_wrap::FromFile.from_file
,file_wrap::FromFile.deserialize
,file_wrap::ToFile.to_file
,file_wrap::ToFile.serialize
,file_wrap::Failure
…
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.