Decision Workspace
mbedtls-selftest vs mbedtls vs mbedtls-platform-support
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.
This Rust crate is a support library for the `mbedtls` crate, providing platform and target specific implementations of all necessary 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. The crate exports Rust functions and defines C functions to support external overrides as needed for custom implementation under various platforms or targets.
Core Metrics
| mbedtls-selftest | mbedtls | mbedtls-platform-support | |
|---|---|---|---|
| Health Score | 36 | 59 | 54 |
| Total Downloads | 2.3K | 409.8K | 195.9K |
| 30d Downloads | 2 | 10.3K | 8.0K |
| Dependents | 2 | 110 | 34 |
| Releases | 1 | 45 | 7 |
| Last Updated | 1073d ago | 42d ago | 42d ago |
| Age | 2y 11m | 9y 5m | 2y 10m |
Health Breakdown
Technical Details
| mbedtls-selftest | mbedtls | mbedtls-platform-support | |
|---|---|---|---|
| Version | 0.1.0 | 0.13.5 | 0.1.3 |
| 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 | 7 |
| Crate Size | 7KB | 367KB | 14KB |
| Features | 1 | 19 | 8 |
| Yanked % | 100.0% | 8.9% | 57.1% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 2 (team) | 1 (team) | 2 (team) |
Links
Quick Verdict
- •mbedtls leads with a health score of 59/100, but none of the options score above 80.
- •mbedtls is depended on by 110 crates — strongest ecosystem trust.
- •⚠ mbedtls-selftest has not been updated in over a year.