primesieve_wrapper
primesieve_wrapper is a Rust wrapper for Primesieve.
Installation
Currently, you must have primesieve installed on your system.
If it is not in a standard location, you may need to edit Cargo.toml to include "-Clink-arg=-L/usr/local/lib" in rustflags.
Usage
Add primesieve_wrapper to your Cargo.toml:
[]
= "0.1.0" # Replace with the latest version from crates.io
Then, in your Rust code:
use generate_primes;
Links
- Crate: https://crates.io/crates/primesieve_wrapper
- Documentation: https://docs.rs/primesieve_wrapper
License
primesieve_wrapper is licensed under CC0-1.0. See LICENSE for details.
Primesieve is licensed under BSD-2-Clause