rustio rustio.net
59

sm2

v0.13.3 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 2021 MSRV 1.65
CryptographyNo standard library #crypto#encryption#signature#ecc#shangmi

Quick Verdict

  • โœ“Actively maintained (updated 36d 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
35.7K
Dependents
15
Releases
16
Size
111KB

Deep Insights

๐Ÿ“Š
Steady growth

2.5K downloads in the last 30 days (83/day), up 13% from the previous period.

๐Ÿ‘ค
Prolific maintainer

The primary maintainer publishes 215 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.

โš ๏ธ
Notable yanked versions

13% of releases have been yanked. Check version history before pinning.

๐ŸŒŸ
Used by top crates

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

Health Breakdown

Maintenance 14/25

Recency, release consistency, active ratio

Quality 11/25

Yanked ratio, deps, size, maturity, features

Community 14/20

Reverse deps, ownership, ecosystem

Popularity 5/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
87/day avg-31%
01002003004002/263/164/34/215/95/26

Top Dependents

Version Adoption

v0.14.0-rc.7
28%
v0.14.0-rc.0
24%
v0.14.0-rc.8
18%
v0.14.0-rc.3
16%
v0.14.0-rc.9
14%

Release Timeline

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

Feature Flags

default =["arithmetic", "dsa", "pem", "std"]

dsa*pem*std*allocpkcs8serdegetrandomarithmetic*

README

Loading README...

Maintainers

Dependencies
9
direct dependencies
Dependents
15
crates depend on sm2

Similar Crates