Cargo Features
[dependencies]
data_type = { version = "0.12.0", default-features = false, features = ["no_std", "use_alloc", "full", "enabled", "dt_prelude", "dt_interval", "dt_collection", "dt_either"] }
= features
- default = dt_collection, dt_either, dt_interval, dt_prelude, enabled
-
These default features are set whenever
data_type
is added without
somewhere in the dependency tree.default-features = false - no_std use_alloc?
- use_alloc = no_std
- full = dt_collection, dt_either, dt_interval, dt_prelude, enabled
- enabled default full?
-
Affects
data_type::dependency
… - dt_prelude default full?
-
rid of maybe?
- dt_interval default full?
-
Enables interval_adapter
- dt_collection default full?
-
Enables enabled of collection_tools
- dt_either default full? = either
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.
- either dt_either
-
Enables either ~1.6
external