rustio rustio.net
60

sm4

v0.6.0 Growing

SM4 block cipher algorithm

MIT OR Apache-2.0 Edition 2024 MSRV 1.85
CryptographyNo standard library #crypto#block-cipher#sm4

Quick Verdict

  • !Pre-1.0: API may have breaking changes
  • โœ“Trusted by 197 crates
  • โœ“Team maintained (2 owners)
  • โœ“Tiny footprint (10KB, 3 deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
286.5K
Dependents
197
Releases
11
Size
10KB

Deep Insights

๐Ÿ“Š
Steady growth

24.8K downloads in the last 30 days (827/day), up 4% from the previous period.

๐Ÿ”—
Moderate adoption

197 crates depend on sm4. Reasonable ecosystem adoption, though not yet a core dependency.

๐Ÿ‘ค
Prolific maintainer

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

๐Ÿ”ฌ
Pre-1.0 for over a year

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

๐Ÿชถ
Minimal dependencies

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

๐Ÿ“
Compact crate

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

๐ŸŒŸ
Used by top crates

Notable dependents include shadowsocks-crypto, zino-core, rust-rsm, cocoon-tpm-crypto, sm4-gcm. When high-quality crates choose sm4, it's a strong quality signal.

Health Breakdown

Maintenance 8/25

Recency, release consistency, active ratio

Quality 13/25

Yanked ratio, deps, size, maturity, features

Community 17/20

Reverse deps, ownership, ecosystem

Popularity 7/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
45/day avg-100%
05001K2K8/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v0.5.1
68%
v0.3.0
25%
v0.6.0
6%
v0.4.0
1%
v0.1.0
1%

Release Timeline

10 releasessince 2020
J
F
M
A
M
J
J
A
S
O
N
D
2020
4
2021
1
2022
2
2023
2024
2025
1
2026
2
Less
More

Feature Flags

zeroize

README

Loading README...

Maintainers

Dependencies
3
direct dependencies
Dependents
197
crates depend on sm4

Similar Crates