Decision Workspace
gmcrypto-c vs libsmx vs gmssl-rs
Side-by-side comparison of Rust crates
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)
46
gmssl-rs
experimentalv0.1.1
Safe, idiomatic Rust wrapper for the GmSSL cryptographic library (SM2/SM3/SM4/SM9/ZUC/X.509)
Core Metrics
| gmcrypto-c | libsmx | gmssl-rs | |
|---|---|---|---|
| Health Score | 51 | 50 | 46 |
| Total Downloads | 364 | 310 | 88 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 23 | 5 | 2 |
| Last Updated | 28d ago | 127d ago | 44d ago |
| Age | 2m | 4m | 1m |
Health Breakdown
gmcrypto-c
Maintenance
12
Quality
18
Community
6
Popularity
3
Documentation
12
libsmx
Maintenance
18
Quality
8
Community
6
Popularity
3
Documentation
15
gmssl-rs
Maintenance
11
Quality
14
Community
6
Popularity
2
Documentation
13
Technical Details
| gmcrypto-c | libsmx | gmssl-rs | |
|---|---|---|---|
| Version | 1.9.0 | 0.3.0 | 0.1.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | Apache-2.0 | Apache-2.0 | Apache-2.0 |
| Dependencies | 6 | 11 | 3 |
| Crate Size | 93KB | 107KB | 24KB |
| Features | 2 | 4 | 0 |
| Yanked % | 0.0% | 20.0% | 0.0% |
| Edition | 2024 | 2021 | 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.
- •libsmx, gmssl-rs are pre-1.0 — API may change.