Crate features / num-bigint
Feature flags · num-bigint 0.5.1 · from crates.io 2026-10-24
num-bigint features: what each one does, and the line to copy
Short answernum-bigint 0.5.1 has 8 features. By default it turns on std; add default-features = false to start from nothing. It needs Rust 1.60 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
arbitrary | dep:arbitrary | |
quickcheck | dep:quickcheck | |
rand_0_10 | rand_core_0_10, dep:rand_0_10 | |
rand_0_9 | rand_core_0_9, dep:rand_0_9 | |
rand_core_0_10 | dep:rand_core_0_10 | |
rand_core_0_9 | dep:rand_core_0_9 | |
serde | dep:serde | |
std | yes | num-integer/std, num-traits/std |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version num-bigint declares (rust-version), and the release that changed it:
- 0.4.5 (2024-05-06): Rust 1.60
- 0.1.45 (2025-01-25): no rust-version declared
- 0.5.1 (2026-07-05): Rust 1.60
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p num-bigint --precise <version>, or use resolver 3, which picks compatible versions for you.
More on num-bigint
Real downloads, dependents and alternatives: num-bigint crate data (1.9M real downloads a day, 2,449 dependents).
Security record: num-bigint advisories.
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2021
Up next
Before you depend on itnum-bigint crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?