Cargo Features
[dependencies]
collection_tools = { version = "0.4.0", default-features = false, features = ["no_std", "use_alloc", "full", "enabled", "collection_constructors", "collection_std"] }
- default = collection_constructors, collection_std, enabled
-
These default features are set whenever
collection_tools
is added without
somewhere in the dependency tree.default-features = false - no_std dev use_alloc?
-
Enables no_std of test_tools
- use_alloc dev = hashbrown, no_std
-
Enables use_alloc of test_tools
- full = collection_constructors, collection_std, enabled
- enabled default full?
-
Affects
collection_tools::dependency
,collection_tools::protected
,collection_tools::orphan
,collection_tools::exposed
,collection_tools::prelude
… - collection_constructors default full? = literally
-
Collection constructors, like
hmap!{ "key" => "val" }
- collection_std default full?
-
STD collection for no_std.
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.
- literally collection_constructors
-
Enables literally
external
- hashbrown use_alloc?