This is a simple prime number generator library / driver written in rust that implements the Sieve of Eratosthenes
A flawed segmented option is in the code but not fit for use at this time. The only functioning version of the sieve is sparkx_primegen::generators::sieve_of_eratosthenes(config: &Config)
To setup locally will require an installation of Rust
Currently the settings are hardcoded into lib.rs in the Config struct.
The following will build and run a release build and set the prime number range's upper limit to 1 billion.
cargo run --release -- -e 1000000000
The following will build and run in unoptimized mode and use the default prime number range
cargo run