#prime #sieve

app prime_finder_rust

A prime finder made in Rust (originally made in c++)

1 unstable release

0.1.0 Dec 30, 2024

#252 in Math

Download history 109/week @ 2024-12-28 13/week @ 2025-01-04

122 downloads per month

MIT license

4KB

Prime Finder in Rust

This project is a simple prime number finder written in Rust. It demonstrates basic Rust programming concepts and efficient algorithms for finding prime numbers.

Features

  • Efficient prime number finding algorithm
  • Command-line interface for user interaction
  • Well-documented and easy to understand code

Requirements

  • Rust (latest stable version)
  • Cargo (Rust package manager)

Installation

  1. Clone the repository:
    git clone https://github.com/yourusername/prime_finder_rust.git
    
  2. Navigate to the project directory:
    cd prime_finder_rust
    
  3. Build the project:
    cargo build --release
    

Usage

Run the program with the following command:

cargo run --release

You will be prompted to enter a number, and the program will output whether the number is prime or not.

No runtime deps