1.8 KiB
1.8 KiB
Release 0.2.0
- breaking change: There is now a
std
feature, enabled by default, along with the implication that building without this feature makes this a#[no_std]
crate.- The
Float
andReal
traits are only available whenstd
is enabled. - Otherwise, the API is unchanged, and num-traits 0.1.43 now re-exports its items from num-traits 0.2 for compatibility (the semver-trick).
- The
Contributors: @cuviper, @termoshtt, @vks
Release 0.1.43
- All items are now re-exported from num-traits 0.2 for compatibility.
Release 0.1.42
- num-traits now has its own source repository at rust-num/num-traits.
ParseFloatError
now implementsDisplay
.- The new
AsPrimitive
trait implements generic casting with theas
operator. - The new
CheckedShl
andCheckedShr
traits implement generic support for thechecked_shl
andchecked_shr
methods on primitive integers. - The new
Real
trait offers a subset ofFloat
functionality that may be applicable to more types, with a blanket implementation for all existingT: Float
types.
Thanks to @cuviper, @Enet4, @fabianschuiki, @svartalf, and @yoanlcq for their contributions!
Prior releases
No prior release notes were kept. Thanks all the same to the many contributors that have made this crate what it is!