Decision Workspace
encryption-rust vs gm-tls vs gmssl-rs
Side-by-side comparison of Rust crates
52
encryption-rust
experimentalv1.2.0
可插拔密码学组件库的 Rust 实现:在统一契约下提供对称加密、非对称加密、哈希、密钥派生(HKDF / PBKDF2 / Argon2 / scrypt)、签名(SM2 / ECDSA / Ed25519)、密钥协商(ECDH / X25519)与后量子密钥封装(ML-KEM),包含 AES/Sodium 与国密 SM2/SM3/SM4/ZUC 等实现
49
gm-tls
experimentalv0.2.16
TLS 1.3 core library with SM (国密) cipher suites — SM2/SM3/SM4, optional gRPC integration. TLCP (GB/T 38636-2020) lives in the standalone gm-tlcp crate.
47
gmssl-rs
experimentalv0.1.1
Safe, idiomatic Rust wrapper for the GmSSL cryptographic library (SM2/SM3/SM4/SM9/ZUC/X.509)
Core Metrics
| encryption-rust | gm-tls | gmssl-rs | |
|---|---|---|---|
| Health Score | 52 | 49 | 47 |
| Total Downloads | 55 | 432 | 169 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 8 | 0 |
| Releases | 5 | 7 | 2 |
| Last Updated | 1d ago | today | 132d ago |
| Age | 3d | 2m | 4m |
Health Breakdown
encryption-rust
Maintenance
19
Quality
14
Community
5
Popularity
2
Documentation
12
gm-tls
Maintenance
14
Quality
11
Community
9
Popularity
3
Documentation
12
gmssl-rs
Maintenance
11
Quality
14
Community
6
Popularity
3
Documentation
13
Technical Details
| encryption-rust | gm-tls | gmssl-rs | |
|---|---|---|---|
| Version | 1.2.0 | 0.2.16 | 0.1.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 54 | 37 | 3 |
| Crate Size | 347KB | 168KB | 24KB |
| Features | 9 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.88 | 1.85 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •encryption-rust leads with a health score of 52/100, but none of the options score above 80.
- •gm-tls has the most downloads (432), suggesting wider adoption.
- •gm-tls, gmssl-rs are pre-1.0 — API may change.