rustio rustio.net
51

hamming

v0.1.3 Growing

Count ones, fast (aka popcount, hamming weight). This provides a performant popcount and bitwise hamming distance for a slice of bytes.

MIT/Apache-2.0
#hamming#popcount#bithack

Quick Verdict

  • โœ•Not updated for 10+ years
  • !Pre-1.0: API may have breaking changes
  • โœ“Trusted by 122 crates
  • โœ“Tiny footprint (10KB, 2 deps)
  • โœ“Permissive license (MIT/Apache-2.0)

Security

Checking security advisories...
Downloads
1.6M
Dependents
122
Releases
4
Size
10KB

Deep Insights

๐Ÿ“Š
Stable downloads

73.6K downloads in the last 30 days (2.5K/day). Volume is roughly flat compared to the previous period.

๐Ÿ”—
Moderate adoption

122 crates depend on hamming. Reasonable ecosystem adoption, though not yet a core dependency.

๐Ÿ‘ค
Prolific maintainer

The primary maintainer publishes 59 crates. This suggests deep Rust expertise and long-term commitment to the ecosystem.

๐Ÿ”ฌ
Pre-1.0 for over a year

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

๐Ÿชถ
Minimal dependencies

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

๐Ÿ“
Compact crate

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

๐ŸŒŸ
Used by top crates

Notable dependents include primal-bit, uplc, ramp, xor-utils, hamming-bitwise-fast. When high-quality crates choose hamming, it's a strong quality signal.

Health Breakdown

Maintenance 8/25

Recency, release consistency, active ratio

Quality 16/25

Yanked ratio, deps, size, maturity, features

Community 9/20

Reverse deps, ownership, ecosystem

Popularity 7/15

Downloads, momentum, growth trend

Documentation 11/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
3K/day avg-25%
01K2K3K4K5K6K2/263/164/34/215/95/26

Top Dependents

Version Adoption

v0.1.3
99%
v0.1.0
0%
v0.1.1
0%
v0.1.2
0%

Release Timeline

4 releasessince 2015
J
F
M
A
M
J
J
A
S
O
N
D
2015
4
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
Less
More

Feature Flags

unstable

README

Loading README...

Maintainers

Dependencies
2
direct dependencies
Dependents
122
crates depend on hamming

Similar Crates