num_traits defines a family of Saturating operations that come out handy from time to time.
I think that num_traits is already an optional dependency, so I guess this might need a feature flag.
There's also a new rust feature adding a saturating_add in the works, but I don't think that the num_traits traits will become irrelevant before core Rust support lands.
num_traitsdefines a family of Saturating operations that come out handy from time to time.I think that
num_traitsis already an optional dependency, so I guess this might need a feature flag.There's also a new rust feature adding a saturating_add in the works, but I don't think that the
num_traitstraits will become irrelevant before core Rust support lands.saturating_addsaturating_sub