Crates.io | cryptoauthlib-sys |
lib.rs | cryptoauthlib-sys |
version | 0.2.2 |
source | src |
created_at | 2021-01-20 12:45:26.475424 |
updated_at | 2022-01-21 15:53:18.530257 |
description | Automatically generated Rust bindings for CryptoAuthentication Library calls. |
homepage | |
repository | https://github.com/PelionIoT/rust-cryptoauthlib/ |
max_upload_size | |
id | 344372 |
size | 12,487,957 |
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.
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/