Skip to content

Upgrading num-bigint 0.3 to 0.4

Breaking0.3.3 → 0.4.8Breaking2Security1Platform4New7Changed7Fixed5Other1

BreakingUpgrade verdict

2 breaking changes and 4 platform requirement changes and a security fix.

  • If you use these optional integrations, you may need a newer Rust compiler.
  • Debug printing now shows the number itself rather than its internal digit list.
  • [Upgrade to 2021 edition, MSRV 1.60][292].
  • The arbitrary integration now needs Rust 1.40 or newer.
Top 5 of 7 that need code or config changes

Requires Rust 1.60 from 0.4.5 (none stated before).

Drops autocfg.

Installs 17 packages in all (was 22).

Breaking2
Updates public dependencies on arbitrary, quickcheck, and rand, raising minimum Rust versions for each feature.
arbitraryquickcheckrand
Changes Debug output for BigInt and BigUint to show plain numeric values instead of raw internal digits.
DebugBigIntBigUint
Security1
Fixes unexpected panics in multiplication, tracked as GHSA-v935-pqmr-g8v9.
Moderate
Platform4
[Upgrade to 2021 edition, MSRV 1.60][292].
Updates arbitrary support to 1.0, requiring Rust 1.40.
arbitrary
Updates quickcheck support to 1.0, requiring Rust 1.46.
quickcheck
Updates rand support to 0.8, requiring Rust 1.36.
rand