Cargo Features
[dependencies]
std-traits = { version = "0.4.0", default-features = false, features = ["std", "alloc"] }
- default = std
-
The
std
feature is set by default wheneverstd-traits
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Affects
num::Number.div_euclid
,num::Number.rem_euclid
,num::Float.floor
,num::Float.ceil
,num::Float.round
,num::Float.round_ties_even
,num::Float.trunc
,num::Float.fract
,num::Float.mul_add
,num::Float.powi
,num::Float.powf
,num::Float.sqrt
,num::Float.exp
,num::Float.exp2
,num::Float.ln
… - alloc std