Decision Workspace
cosmian_pkcs11 vs cryptoki vs cryptoki-sys
Side-by-side comparison of Rust crates
54
cosmian_pkcs11
growingv5.18.0
HSM PKCS#11 provider for Cosmian KMS
70
cryptoki
growingv0.12.0
Rust-native wrapper around the PKCS #11 API
64
cryptoki-sys
growingv0.5.0
FFI wrapper around the PKCS #11 API
Core Metrics
| cosmian_pkcs11 | cryptoki | cryptoki-sys | |
|---|---|---|---|
| Health Score | 54 | 70 | 64 |
| Total Downloads | 2.4K | 811.8K | 887.3K |
| 30d Downloads | 41 | 59.5K | 67.4K |
| Dependents | 0 | 223 | 52 |
| Releases | 16 | 18 | 13 |
| Last Updated | 1d ago | 64d ago | 98d ago |
| Age | 10m | 5y | 5y |
Health Breakdown
cosmian_pkcs11
Maintenance
20
Quality
15
Community
5
Popularity
4
Documentation
10
cryptoki
Maintenance
17
Quality
14
Community
17
Popularity
7
Documentation
15
cryptoki-sys
Maintenance
14
Quality
12
Community
16
Popularity
7
Documentation
15
Technical Details
| cosmian_pkcs11 | cryptoki | cryptoki-sys | |
|---|---|---|---|
| Version | 5.18.0 | 0.12.0 | 0.5.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | BUSL-1.1 | Apache-2.0 | Apache-2.0 |
| Dependencies | 18 | 9 | 2 |
| Crate Size | 379KB | 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 70/100, but none of the options score above 80.
- •cryptoki-sys has the most downloads (887.3K), suggesting wider adoption.
- •cryptoki is depended on by 223 crates — strongest ecosystem trust.
- •cryptoki, cryptoki-sys are pre-1.0 — API may change.