rustio rustio.net
45

primes

v0.4.0 Growing

A package for calculating primes using the Sieve of Eratosthenes, and using that to check if a number is prime and calculating factors. Includes an iterator over all primes.

BSD-3-Clause Edition 2018
#math#algorithms

Quick Verdict

  • โœ•Not updated for 1+ year
  • !Pre-1.0: API may have breaking changes
  • โœ“Tiny footprint (7KB, 1 deps)

Security

Checking security advisories...
Downloads
470.6K
Dependents
78
Releases
15
Size
7KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

8.8K downloads in the last 30 days (292/day), up 88% from the previous period.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 11+ years old, primes hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿชถ
Minimal dependencies

Only 1 direct dependencies. Lean dependency tree means faster builds and lower supply chain risk.

๐Ÿ“
Compact crate

At 7KB, primes is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include rusty_paseto, oars, swarm-bot, raptor-code, json2bin. When high-quality crates choose primes, it's a strong quality signal.

Health Breakdown

Maintenance 4/25

Recency, release consistency, active ratio

Quality 15/25

Yanked ratio, deps, size, maturity, features

Community 7/20

Reverse deps, ownership, ecosystem

Popularity 7/15

Downloads, momentum, growth trend

Documentation 12/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
187/day avg+130%
010020030040050012/291/162/32/213/113/28

Top Dependents

Version Adoption

v0.3.0
73%
v0.4.0
20%
v0.2.3
3%
v0.2.4
3%
v0.2.0
2%

Release Timeline

15 releasessince 2014
J
F
M
A
M
J
J
A
S
O
N
D
2014
3
2015
6
2016
2017
2018
3
2019
1
2020
1
2021
2022
2023
2024
1
2025
2026
Less
More

README

Loading README...

Maintainers

Dependencies
1
direct dependencies
Dependents
78
crates depend on primes

Similar Crates