- 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-rational
to 0.4.0.- Updated to
rand
0.8 innum-bigint
andnum-complex
. Rational
is deprecated in favor of explicitRational32
orRational64
.
- Updated to
- As with prior release bumps, all items exported from
num-integer
,num-iter
, andnum-traits
are 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-traits
are still compatible withnum
0.1 and 0.2. - The "alloc" feature enables
bigint
withoutstd
on Rust 1.36+. - The "libm" feature enables
Float
withoutstd
intraits
andcomplex
. - Please see the release notes of the individual sub-crates for details.
num
now requires rustc 1.31 or greater.- The "i128" opt-in feature was removed, now always available.
rand
support 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-traits
are still compatible withnum
0.1. - 128-bit integers are supported with Rust 1.26 and later.
BigInt
,BigUint
,Complex
, andRatio
all implementSum
andProduct
.
num
now requires rustc 1.15 or greater.num-bigint
,num-complex
, andnum-rational
have 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
std
feature, enabled by default, along with the implication that building without this feature makes this a#![no_std]
crate.num::bigint
is not available withoutstd
, and the other sub-crates may have limited functionality. - The
serde
dependency has been updated to 1.0, still disabled by default. Therustc-serialize
crate is no longer supported bynum
. - The
rand
dependency 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!