4 releases
0.2.2 | Jan 21, 2022 |
---|---|
0.2.1 | Jul 22, 2021 |
0.2.0 | Mar 3, 2021 |
0.1.0 | Jan 20, 2021 |
#1565 in Hardware support
766 downloads per month
Used in 2 crates
(via rust-cryptoauthlib)
6.5MB
51K
SLoC
rust-cryptoauthlib/cryptoauthlib-sys
The Rust bindings for the Microchip CryptoAuthentication Library version 3.1.0.
This workspace member provides a "raw" Rust bindings, generated automatically.
About
The underlying C library was cloned as a submodule using below command:
git submodule add -b Release/v3.1.x https://github.com/MicrochipTech/cryptoauthlib.git
The library was locally compiled to investigate what cmake arguments are needed.
After the above succeeded, the bindings were generated automatically from the build output using following command:
bindgen cryptoauthlib/lib/cryptoauthlib.h -o src/bindings.rs --
-I ./cryptoauthlib/lib/
-I ./target/release/build/cryptoauthlib-sys-****************/out/build/lib/