num_primes
Run this command in a terminal, in your project's directory:
cargo add num-primes
To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:
Cargo.toml
[dependencies]
num-primes = "0.3.0"
The num_primes library will be automatically available globally. Read the num_primes library documentation.
Back to the crate overview.