|  | Commit message (Collapse) | Author | Age | 
|---|
| | 
| 
| 
| 
| | 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. | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | 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 | 
| | 
| 
| 
| 
| 
| | Besides the changes listed in the changelog, this patch also changes the
build system to be able to generate the version.cc file containing the
library version. | 
| | 
| 
| 
| 
| 
| | 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. | 
| | 
| 
| 
| 
| 
| 
| | 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. | 
|  | Previously, this crate has been part of the nitrokey-rs repository at
https://git.ireas.org/nitrokey-rs. |