1 unstable release

0.1.0 Aug 29, 2024

#17 in #dtls


Used in embedded-mbedtls

OLFL-1.3

10MB
201K SLoC

C 135K SLoC // 0.1% comments Shell 38K SLoC // 0.1% comments Python 12K SLoC // 0.3% comments Visual Studio Project 11K SLoC Jinja2 3K SLoC // 0.0% comments Perl 1K SLoC // 0.1% comments Visual Studio Solution 812 SLoC Rust 150 SLoC // 0.3% comments Bitbake 45 SLoC Batch 31 SLoC GDB Script 22 SLoC // 0.6% comments TCL 4 SLoC

embedded-mbedtls-sys

This crate builds the Mbed TLS C library and generates low-level Rust bindings using bindgen for the embedded-mbedtls library/project. Probably, you will want to use it through the high-level Rust wrapper embedded-mbedtls instead of using this crate directly.

For general project goals, see the README.md in the project repository.

For the underlying Mbed TLS configuration (and how to customize it in the future), see the README.md in the project repository, the build.rs for this crate or the config.h in the project repository.

Please note that not all generated Rust bindings which end up in the Rustdoc are meaningful. They are generated by running bindgen on mbedtls/ssl.h and a few other headers (see build.rs) but apparently, mbedtls/ssl.h already includes many other headers and their definitions, even though these are not configured to be used. Trying to use these will most probably result in some kind of error, e.g. linkage errors.

License

Open Logistics License
Version 1.3, January 2023

See the LICENSE file in the top-level directory.

Contact

Fraunhofer IML Embedded Rust Group - embedded-rust@iml.fraunhofer.de

Dependencies