Decision Workspace
gm-rs vs gmcrypto-c vs libsmx
Side-by-side comparison of Rust crates
39
gm-rs
growingv0.8.0
A Rust Implementation of China's Standards of Encryption Algorithms(SM2/SM3/SM4)
51
gmcrypto-c
experimentalv1.9.0
C ABI for gmcrypto-core — cdylib + staticlib exposing SM2/SM3/SM4/HMAC/PBKDF2 to C / C++ / Python / Go / Zig callers via opaque handles
50
libsmx
experimentalv0.3.0
Pure-Rust, no_std, constant-time SM2/SM3/SM4/SM9 Chinese cryptography (GB/T 32918/32905/32907/38635)
Core Metrics
| gm-rs | gmcrypto-c | libsmx | |
|---|---|---|---|
| Health Score | 39 | 51 | 50 |
| Total Downloads | 14.7K | 364 | 310 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 12 | 23 | 5 |
| Last Updated | 1184d ago | 28d ago | 127d ago |
| Age | 3y 9m | 2m | 4m |
Health Breakdown
gm-rs
Maintenance
6
Quality
13
Community
5
Popularity
5
Documentation
10
gmcrypto-c
Maintenance
12
Quality
18
Community
6
Popularity
3
Documentation
12
libsmx
Maintenance
18
Quality
8
Community
6
Popularity
3
Documentation
15
Technical Details
| gm-rs | gmcrypto-c | libsmx | |
|---|---|---|---|
| Version | 0.8.0 | 1.9.0 | 0.3.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | Apache-2.0 | Apache-2.0 |
| Dependencies | 10 | 6 | 11 |
| Crate Size | 98KB | 93KB | 107KB |
| Features | 0 | 2 | 4 |
| Yanked % | 0.0% | 0.0% | 20.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.85 | 1.83.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •gmcrypto-c leads with a health score of 51/100, but none of the options score above 80.
- •gm-rs has the most downloads (14.7K), suggesting wider adoption.
- •⚠ gm-rs has not been updated in over a year.
- •gm-rs, libsmx are pre-1.0 — API may change.