Cargo Features
[dependencies]
department = { version = "0.2.5", default-features = false, features = ["std", "coerce-unsized", "all_storages", "alloc", "inline", "static", "fallback", "debug", "all_collections", "box", "vec", "string"] }
- default = all_collections, all_storages, coerce-unsized, std
-
These default features are set whenever
department
is added without
somewhere in the dependency tree.default-features = false - std default
-
Optional std support
- coerce-unsized default
-
Optional automatic unsizing support
- all_storages default = alloc, debug, fallback, inline, static
-
Different storage implementations, which may have their own requirements
- alloc all_storages
-
Affects
department::alloc
… - inline all_storages
-
Affects
department::inline
… - static all_storages
-
Affects
department::statics
… - fallback all_storages
-
Affects
department::fallback
… - debug all_storages
-
Affects
department::debug
… - all_collections default = box, string, vec
-
Different collection implementations
- box all_collections
-
Affects
department::boxed
… - vec all_collections string?
-
Affects
department::collections
… - string all_collections = vec
-
Affects
department::string
…