Cargo Features
[dependencies]
odem-rs-util = { version = "0.1.1", default-features = false, features = ["std", "alloc", "uom", "libm", "rand", "rand_xoshiro", "rand_pcg"] }
- default = rand, rand_xoshiro, std, uom
-
These default features are set whenever
odem-rs-util
is added without
somewhere in the dependency tree.default-features = false Enables odem-rs-core
- std default = alloc
-
Enables std of odem-rs-core
Affects
random_variable::Skewness.sample_skew
,random_variable::Skewness.population_skew
… - alloc std
-
Enables typed-arena, alloc of odem-rs-core
Affects
odem-rs-util::arrivals
…
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.
- uom default
-
Enables uom
optional dependencies
Affects
odem-rs-util::si
… - libm implicit feature
-
Enables libm
libm:
libm in pure Rust
Affects
random_variable::Skewness.sample_skew
,random_variable::Skewness.population_skew
… - rand default
-
Affects
odem-rs-util::random
… - rand_xoshiro default
-
Affects
random::DefaultRng
… - rand_pcg implicit feature
-
Enables rand_pcg
rand_pcg:
Selected PCG random number generators
Affects
random::DefaultRng
…