Cargo Features

[dependencies]
std-traits = { version = "0.4.0", default-features = false, features = ["std", "alloc"] }
default = std

The std feature is set by default whenever std-traits is added without default-features = false somewhere in the dependency tree.

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