Decision Workspace
mbedtls-selftest vs mbedtls vs mbedtls-smx
Side-by-side comparison of Rust crates
This Rust crate is a support library for the `mbedtls` crate. It contains self-test logic that exports Rust functions and defines C functions. By separating this logic into a separate crate, multiple versions of the `mbedtls` crate can coexist within a single crate. This helps to avoid link name conflict errors.
Idiomatic Rust wrapper for MbedTLS, allowing you to use MbedTLS with only safe code while being able to use such great Rust features like error handling and closures. Building on MbedTLS's focus on embedded use, this crate can be used in a no_std environment.
Idiomatic Rust wrapper for MbedTLS, allowing you to use MbedTLS with only safe code while being able to use such great Rust features like error handling and closures. Building on MbedTLS's focus on embedded use, this crate can be used in a no_std environment.
Core Metrics
| mbedtls-selftest | mbedtls | mbedtls-smx | |
|---|---|---|---|
| Health Score | 36 | 55 | 52 |
| Total Downloads | 2.3K | 461.1K | 1.9K |
| 30d Downloads | 0 | 9.5K | 0 |
| Dependents | 2 | 121 | 40 |
| Releases | 1 | 45 | 9 |
| Last Updated | 1181d ago | 150d ago | 33d ago |
| Age | 3y 2m | 9y 8m | 5m |
Health Breakdown
Technical Details
| mbedtls-selftest | mbedtls | mbedtls-smx | |
|---|---|---|---|
| Version | 0.1.0 | 0.13.5 | 0.13.11 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0/GPL-2.0+ | Apache-2.0 OR GPL-2.0-or-later | Apache-2.0 OR GPL-2.0-or-later |
| Dependencies | 3 | 30 | 32 |
| Crate Size | 7KB | 367KB | 377KB |
| Features | 1 | 19 | 19 |
| Yanked % | 100.0% | 8.9% | 11.1% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 2 (team) | 1 (team) | 1 |
Links
Quick Verdict
- •mbedtls leads with a health score of 55/100, but none of the options score above 80.
- •mbedtls is depended on by 121 crates — strongest ecosystem trust.
- •⚠ mbedtls-selftest has not been updated in over a year.