Cargo Features
[dependencies]
fallible_collections = { version = "0.4.9", default-features = false, features = ["unstable", "std_io", "std", "hashmap", "rust_1_57"] }
- default = hashmap
-
The
hashmap
feature is set by default wheneverfallible_collections
is added without
somewhere in the dependency tree.default-features = false - unstable
-
Enable on nightly builds to allow use of unstable features
Affects
fallible_collections::btree
,vec::try_from_elem
… - std_io = std
-
Functionality based on std::io types
Affects
vec::std_io
… - std std_io?
-
Allow use of std
- hashmap default = hashbrown
-
Allow use of hashmap
Affects
fallible_collections::hashmap
… - rust_1_57
-
Use fallible functions added in Rust 1.57
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.
- hashbrown hashmap
-
Enables hashbrown ^0.13