Cargo Features
[dependencies]
department = { version = "0.2.6", default-features = false, features = ["std", "unsize", "all_storages", "alloc", "inline", "heap", "static", "fallback", "debug", "all_collections", "box", "rc", "vec", "linked", "string"] }
- default = all_collections, all_storages, std, unsize
-
These default features are set whenever
department
is added without
somewhere in the dependency tree.default-features = false - std default
-
Optional std support
- unsize default
-
Optional unsizing support, both manual and automatic. Using unsized types without this feature may be more painful than necessary!
Affects
base::Storage.coerce
,handles::Handle.coerce
… - all_storages default = alloc, debug, fallback, heap, inline, static
-
Different storage implementations, which may have their own requirements
- alloc all_storages debug?
-
Affects
department::alloc
… - inline all_storages
-
Affects
department::inline
… - heap all_storages
-
Affects
department::heap
… - static all_storages
-
Affects
department::statics
… - fallback all_storages
-
Affects
department::fallback
… - debug all_storages = alloc, vec
-
Affects
department::debug
… - all_collections default = box, linked, rc, string, vec
-
Different collection implementations
- box all_collections
-
Affects
department::boxed
… - rc all_collections
-
Affects
department::rc
… - vec all_collections debug? string?
-
Affects
department::collections
… - linked all_collections
-
Affects
department::collections
… - string all_collections = vec
-
Affects
department::string
…