rustio rustio.net
69

sm2

v0.14.0 Growing

Pure Rust implementation of the SM2 elliptic curve as defined in the Chinese national standard GM/T 0003-2012 as well as ISO/IEC 14888. Includes support for the SM2DSA Digital Signature Algorithm.

Apache-2.0 OR MIT Edition 2024 MSRV 1.85
CryptographyNo standard library #crypto#encryption#signature#ecc#shangmi

Quick Verdict

  • โœ“Actively maintained (updated 7d ago)
  • !Pre-1.0: API may have breaking changes
  • โœ“Team maintained (2 owners)
  • โœ“Permissive license (Apache-2.0 OR MIT)

Security

Checking security advisories...
Downloads
61.0K
Dependents
85
Releases
23
Size
41KB

Deep Insights

๐Ÿ“Š
Steady growth

8.0K downloads in the last 30 days (267/day), up 7% from the previous period.

๐Ÿ‘ค
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, sm2 hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿ“
Compact crate

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

๐ŸŒŸ
Used by top crates

Notable dependents include br-crypto, geonetworking, tee_crypto, gm-crypto, gb28181-rs. When high-quality crates choose sm2, it's a strong quality signal.

Health Breakdown

Maintenance 18/25

Recency, release consistency, active ratio

Quality 14/25

Yanked ratio, deps, size, maturity, features

Community 16/20

Reverse deps, ownership, ecosystem

Popularity 6/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
13/day avg
01002003004008/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v0.14.0-rc.15
59%
v0.14.0-rc.13
12%
v0.14.0-rc.9
12%
v0.14.0-rc.10
9%
v0.14.0-rc.7
8%

Release Timeline

10 releasessince 2026
J
F
M
A
M
J
J
A
S
O
N
D
2026
10
Less
More

Feature Flags

default =["arithmetic", "dsa", "getrandom", "pke", "pem", "precomputed-tables", "std"]

dsa*pem*pke*std*allocpkcs8serdegetrandom*arithmetic*precomputed-tables*

README

Loading README...

Maintainers

Dependencies
14
direct dependencies
Dependents
85
crates depend on sm2

Similar Crates