rust-cryptoauthlib
The Rust wrapper for the Microchip CryptoAuthentication Library.
The wrapper carries own cryptoauthentication library (3.1.0) as a git submodule, hence its cloning requires caution.
For the snippets below, double check the GITREPO URI; this one works for now:
GITREPO = https://github.com/PelionIoT/rust-cryptoauthlib.git
git clone --recurse-submodules $GITREPO
git clone $GITREPO
cd rust-cryptoauthlib
git submodule update --init --recursive
The above fixes also below compilation error:
CMake Error: The source directory "/home/user/rust-cryptoauthlib/cryptoauthlib-sys/cryptoauthlib" does not appear to contain CMakeLists.txt.
A release build
cargo build --release
A debug build
cargo build
cargo test