aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
Commit message (Collapse)AuthorAge
* Add the Librem Key model to the unit testsRobin Krahl2020-09-23
|
* Add feature to generate bindings during buildRobin Krahl2020-09-22
| | | | | | | This patch adds the bindgen feature to the crate that allows users to re-generate the bindings, including layout tests, during the build instead of using the pre-generated bindings. Per default, this feature is disabled.
* Update to Rust edition 2018Robin Krahl2018-12-16
| | | | | This patch updates the crate to use Rust edition 2018. It also changes the use statement for the ffi module to the new crate:: syntax.
* Update login_auto test caseRobin Krahl2018-12-16
| | | | | | | | | Currently, the login_auto test case calls NK_logout before NK_login_auto due to the behavior described in libnitrokey pull request #115 [0]. This behavior has been fixed in version 3.4.1. Therefore this patch removes the NK_logout call. [0] https://github.com/Nitrokey/libnitrokey/pull/115
* Build libnitrokey from sourceRobin Krahl2018-05-21
| | | | | | This patch changes the build script to compile and link libnitrokey from the included source. Also, we have to link against hidapi-libusb as a libnitrokey requirement.
* Replace generated with static codeRobin Krahl2018-05-20
| | | | | | | Use bindgen to generate the bindings statically instead of during build. Code generation is not necessary as NK_C_API.h does not contain any system-dependent definitions. Removing bindgen as a build dependency also drastically speeds up compilation.
* Initial commit after move from nitrokey-rsv0.1.0Robin Krahl2018-05-20
Previously, this crate has been part of the nitrokey-rs repository at https://git.ireas.org/nitrokey-rs.