| Commit message (Collapse) | Author | Age |
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Instead of relying on the libnitrokey headers installed on the system
(via wrapper.h), use the included NK_C_API.h directly.
|
|
Previously, this crate has been part of the nitrokey-rs repository at
https://git.ireas.org/nitrokey-rs.
|