Cargo Features

[dependencies]
data_type = { version = "0.13.0", default-features = false, features = ["no_std", "use_alloc", "full", "enabled", "dt_interval", "dt_collection", "dt_either"] }

= features

default = dt_collection, dt_either, dt_interval, enabled

These default features are set whenever data_type is added without default-features = false somewhere in the dependency tree.

no_std use_alloc?
use_alloc = no_std
full = dt_collection, dt_either, dt_interval, enabled
enabled default full?

Affects data_type::dependency

dt_interval default full?

Enables enabled of interval_adapter ~0.28.0

internal

dt_collection default full?

Enables enabled of collection_tools ~0.17.0

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.

qqq : for Anton : integrate all features of collection_tools into data_type and reuse tests

either dt_either

Enables either ~1.6

external