cryptoauthlib-sys

Crates.iocryptoauthlib-sys
lib.rscryptoauthlib-sys
version0.2.2
sourcesrc
created_at2021-01-20 12:45:26.475424
updated_at2022-01-21 15:53:18.530257
descriptionAutomatically generated Rust bindings for CryptoAuthentication Library calls.
homepage
repositoryhttps://github.com/PelionIoT/rust-cryptoauthlib/
max_upload_size
id344372
size12,487,957
Michal Protasowicki (michpro)

documentation

README

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/
Commit count: 122

cargo fmt