Decision Workspace
xstring vs kglite-c vs gmcrypto-c
Side-by-side comparison of Rust crates
43
xstring
growingv0.1.1
An immutable owned string that could be cheaply cloned and passed through FFI.
61
kglite-c
experimentalv0.19.6
C ABI for kglite — stable extern "C" surface over the kglite engine so non-Rust bindings (Go via cgo, JVM via JNI, .NET via P/Invoke, …) consume a single C header rather than re-implementing wrappers in their host language. The Rust types (DirGraph, Session, CypherResult, KgErrorCode) live in the sibling `kglite` crate; this crate is glue.
60
gmcrypto-c
experimentalv1.16.0
C ABI for gmcrypto-core — cdylib + staticlib exposing SM2/SM3/SM4/AEAD/XTS/X.509/TLCP to C / C++ / Python / Go / Zig callers
Core Metrics
| xstring | kglite-c | gmcrypto-c | |
|---|---|---|---|
| Health Score | 43 | 61 | 60 |
| Total Downloads | 1.0K | 2.2K | 579 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 2 | 119 | 29 |
| Last Updated | 486d ago | today | today |
| Age | 1y 5m | 4m | 5m |
Health Breakdown
xstring
Maintenance
6
Quality
17
Community
3
Popularity
4
Documentation
13
kglite-c
Maintenance
22
Quality
14
Community
6
Popularity
4
Documentation
15
gmcrypto-c
Maintenance
19
Quality
17
Community
6
Popularity
3
Documentation
15
Technical Details
| xstring | kglite-c | gmcrypto-c | |
|---|---|---|---|
| Version | 0.1.1 | 0.19.6 | 1.16.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 1 | 4 | 6 |
| Crate Size | 12KB | 182KB | 105KB |
| Features | 4 | 3 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.88.0 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •kglite-c leads with a health score of 61/100, but none of the options score above 80.
- •⚠ xstring has not been updated in over a year.
- •xstring, kglite-c are pre-1.0 — API may change.