- Upgrade to 2021 edition, MSRV 1.60.
- Updated all sub-crates to their latest versions.
- Updated all sub-crates to their latest versions.
- Updated all sub-crates to their latest versions.
- Updated
num-bigint,num-complex, andnum-rationalto 0.4.0.- Updated to
rand0.8 innum-bigintandnum-complex. Rationalis deprecated in favor of explicitRational32orRational64.
- Updated to
- As with prior release bumps, all items exported from
num-integer,num-iter, andnum-traitsare still semver-compatible with those exported by earlier version ofnum.
- Updated all sub-crates to their latest versions.
- Clarify the license specification as "MIT OR Apache-2.0".
All items exported from num-integer, num-iter, and num-traits are still
semver-compatible with those exported by num 0.1 and 0.2. If you have these
as public dependencies in your own crates, it is not a breaking change to move
to num 0.3. However, this is not true of num-bigint, num-complex, or
num-rational, as those exported items are distinct in this release.
- Updates to
num-integer,num-iter, andnum-traitsare still compatible withnum0.1 and 0.2. - The "alloc" feature enables
bigintwithoutstdon Rust 1.36+. - The "libm" feature enables
Floatwithoutstdintraitsandcomplex. - Please see the release notes of the individual sub-crates for details.
numnow requires rustc 1.31 or greater.- The "i128" opt-in feature was removed, now always available.
randsupport has been updated to 0.7, requiring Rust 1.32.
Contributors: @cuviper
- Updated all sub-crates to their latest versions.
Contributors: @cuviper, @ignatenkobrain, @jimbo1qaz
All items exported from num-integer, num-iter, and 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-bigint, num-complex, or
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-bigint,
num-complex,
num-integer,
num-iter,
num-rational,
and num-traits.
- Updates to
num-integer,num-iter, andnum-traitsare still compatible withnum0.1. - 128-bit integers are supported with Rust 1.26 and later.
BigInt,BigUint,Complex, andRatioall implementSumandProduct.
numnow requires rustc 1.15 or greater.num-bigint,num-complex, andnum-rationalhave all been updated to 0.2.- It's no longer possible to toggle individual
num-*sub-crates using cargo features. If you need that control, please use those crates directly. - There is now a
stdfeature, enabled by default, along with the implication that building without this feature makes this a#![no_std]crate.num::bigintis not available withoutstd, and the other sub-crates may have limited functionality. - The
serdedependency has been updated to 1.0, still disabled by default. Therustc-serializecrate is no longer supported bynum. - The
randdependency has been updated to 0.5, now disabled by default. This requires rustc 1.22 or greater forrand's own requirement.
Contributors: @CAD97, @cuviper, and the many sub-crate contributors!
- All of the num sub-crates now have their own source repositories.
- Updated num sub-crates to their latest versions.
Contributors: @cuviper
No prior release notes were kept. Thanks all the same to the many contributors that have made this crate what it is!