Cargo Features
[dependencies]
daisy_bsp = { version = "0.5.1", default-features = false, features = ["alloc", "seed", "field", "log-itm", "uses_num"] }
- features ------------------------------------------------------------------
- default = seed
-
The
seed
feature is set by default wheneverdaisy_bsp
is added without
somewhere in the dependency tree.default-features = false - alloc = static-alloc, without-alloc
-
requires rust nightly
Affects
daisy_bsp::alloc
… - seed default
- pod petal patch field
- log-itm
-
Affects
daisy_bsp::itm
… - uses_num = num, num-derive, num-traits
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.
- dependencies --------------------------------------------------------------
- static-alloc alloc?
-
Enables static-alloc
- optional dependencies used by features
- without-alloc alloc?
- num uses_num?
-
Enables num ^0.3.1
- optional dependencies used by examples
- num-derive uses_num?
-
Enables num-derive ^0.3.3
- num-traits uses_num?