Decision Workspace
cosmian_pkcs11 vs cryptoki vs cryptoki-sys
Side-by-side comparison of Rust crates
54
cosmian_pkcs11
stablev5.28.0
HSM PKCS#11 provider for Cosmian KMS
76
cryptoki
growingv0.12.1
Rust-native wrapper around the PKCS #11 API
60
cryptoki-sys
growingv0.5.0
FFI wrapper around the PKCS #11 API
Core Metrics
| cosmian_pkcs11 | cryptoki | cryptoki-sys | |
|---|---|---|---|
| Health Score | 54 | 76 | 60 |
| Total Downloads | 2.7K | 3.0M | 3.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 598 | 96 |
| Releases | 27 | 21 | 13 |
| Last Updated | 8d ago | 23d ago | 294d ago |
| Age | 1y 5m | 5y 6m | 5y 6m |
Health Breakdown
cosmian_pkcs11
Maintenance
19
Quality
16
Community
5
Popularity
4
Documentation
10
cryptoki
Maintenance
20
Quality
14
Community
19
Popularity
8
Documentation
15
cryptoki-sys
Maintenance
9
Quality
12
Community
16
Popularity
8
Documentation
15
Technical Details
| cosmian_pkcs11 | cryptoki | cryptoki-sys | |
|---|---|---|---|
| Version | 5.28.0 | 0.12.1 | 0.5.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | BUSL-1.1 | Apache-2.0 | Apache-2.0 |
| Dependencies | 19 | 9 | 2 |
| Crate Size | 391KB | 118KB | 397KB |
| Features | 1 | 2 | 1 |
| Yanked % | 0.0% | 0.0% | 7.7% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.87.0 | 1.77 | 1.77 |
| Owners | 1 | 4 (team) | 4 (team) |
Links
Quick Verdict
- •cryptoki leads with a health score of 76/100, but none of the options score above 80.
- •cryptoki-sys has the most downloads (3.4M), suggesting wider adoption.
- •cryptoki is depended on by 598 crates — strongest ecosystem trust.
- •cryptoki, cryptoki-sys are pre-1.0 — API may change.