All items exported from
num-traits are still semver-compatible with those exported by
num 0.1. If you have these as public dependencies in your own crates, it is not a breaking change to move to
num 0.2. However, this is not true of
num-rational, as those exported items are distinct in this release.
A few common changes are listed below, but most of the development happens in the individual sub-crates. Please consult their release notes for more details about recent changes:
num-traitsare still compatible with
numnow requires rustc 1.15 or greater.
num-rationalhave all been updated to 0.2.
num-*sub-crates using cargo features. If you need that control, please use those crates directly.
stdfeature, enabled by default, along with the implication that building without this feature makes this a
num::bigintis not available without
std, and the other sub-crates may have limited functionality.
serdedependency has been updated to 1.0, still disabled by default. The
rustc-serializecrate is no longer supported by
randdependency has been updated to 0.5, now disabled by default. This requires rustc 1.22 or greater for
rand's own requirement.
Contributors: @CAD97, @cuviper, and the many sub-crate contributors!
No prior release notes were kept. Thanks all the same to the many contributors that have made this crate what it is!