Cargo Features
Bounded has no features set by default.
[dependencies]
bounded = { version = "0.2.0", features = ["extra-traits", "bounded", "checked", "checked-mul", "checked-shl", "checked-sub", "saturating", "saturating-add", "saturating-div", "saturating-sub"] }
- extra-traits = bounded, checked, saturating
- bounded extra-traits? = num-traits
- checked extra-traits? = checked-add, checked-div, checked-mul, checked-neg, checked-rem, checked-shl, checked-shr, checked-sub
- checked-add checked-div checked-mul checked? = num-traits
- checked-neg checked-rem checked-shl checked? = num-traits
- checked-shr checked-sub checked? = num-traits
- saturating extra-traits? = saturating-add, saturating-div, saturating-mul, saturating-sub
- saturating-add saturating? = num-traits
- saturating-div saturating? = num-traits
-
Affects
saturating_div::SaturatingDiv
… - saturating-mul saturating-sub saturating? = 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.