Giter Club home page Giter Club logo

rust-cryptoauthlib's Introduction

rust-cryptoauthlib


The Rust wrapper for the Microchip CryptoAuthentication Library.


Repository cloning

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

Cloning the whole repository in one step

git clone --recurse-submodules $GITREPO

Cloning the wrapper first then subsequently the cryptoauthlib submodule

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.

Compilation instructions.

A release build

cargo build --release

A debug build

cargo build

Running tests

cargo test

rust-cryptoauthlib's People

Contributors

robertdrazkowskigl avatar michpro avatar kbegl avatar

Stargazers

Ethan Zhang avatar  avatar

Watchers

Cruz Monrreal avatar Ed Hemphill avatar Roman Savelyev avatar Travis McCollum avatar  avatar

rust-cryptoauthlib's Issues

Rename the crate `cryptoauthlib`?

Hello ๐Ÿ‘‹

It is just a question/suggestion that you could rename the crate cryptoauthlib? I think this is free on crates.io. I think having "rust-" in the name of the crate is redundant because when you use it it is always in a Rust context ๐Ÿ˜„
Also, it would map well with cryptoauthlib-sys.

I am not sure if it is actually possible to rename a crate but maybe creating a new one with that name and same code ๐Ÿค”?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.