Cargo Features
[dependencies]
collection_tools = { version = "0.15.0", default-features = false, features = ["no_std", "use_alloc", "full", "enabled", "collection_constructors", "collection_into_constructors"] }
- default = collection_constructors, collection_into_constructors, enabled
-
These default features are set whenever
collection_tools
is added without
somewhere in the dependency tree.default-features = false - no_std use_alloc?
- use_alloc = hashbrown, no_std
- full = collection_constructors, collection_into_constructors, enabled
- enabled default full?
-
Affects
collection_tools::dependency
,collection_tools::own
,collection_tools::orphan
,collection_tools::exposed
,collection_tools::prelude
… - collection_constructors default full?
-
Collection constructors, like
hmap!{ "key" => "val" }
- collection_into_constructors default full?
-
Collection constructors, using
into()
under the hood, likeinto_hmap!( "key" => "val" )
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.
qqq : is this feature used? seems not. if yes, what is it responsible for? discuss -- not needed, removed
- hashbrown use_alloc?
-
Enables hashbrown ~0.14.3
external