Decision Workspace
mbedtls-sys vs mbedtls vs mbedtls-platform-support
Side-by-side comparison of Rust crates
A rust FFI wrapper around mbedtls which provides TLS, DTLS and generic crypto and hash functions
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-sys | mbedtls | mbedtls-platform-support | |
|---|---|---|---|
| Health Score | 36 | 59 | 54 |
| Total Downloads | 4.5K | 409.8K | 195.9K |
| 30d Downloads | 5 | 10.3K | 8.0K |
| Dependents | 0 | 110 | 34 |
| Releases | 2 | 45 | 7 |
| Last Updated | 3495d ago | 42d ago | 42d ago |
| Age | 9y 7m | 9y 5m | 2y 10m |
Health Breakdown
Technical Details
| mbedtls-sys | mbedtls | mbedtls-platform-support | |
|---|---|---|---|
| Version | 0.0.2 | 0.13.5 | 0.1.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | Apache-2.0 OR GPL-2.0-or-later | Apache-2.0 OR GPL-2.0-or-later |
| Dependencies | 1 | 30 | 7 |
| Crate Size | 17KB | 367KB | 14KB |
| Features | 0 | 19 | 8 |
| Yanked % | 0.0% | 8.9% | 57.1% |
| Edition | — | 2018 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 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-sys has not been updated in over a year.