| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
| |
This patch adds a Makefile to make it easier to generate the src/ffi.rs
file using bindgen. As we can use whitelists instead of manually
removing the unnecessary type definitions, we also re-generate the file
with the new settings.
|
|
|
|
|
|
| |
nitrokey-sys currently contains two deprecated functions: `NK_status`
and `NK_totp_get_time`. This patch adds Rust’s `deprecated` attribute
to the functions.
|
|
|
|
|
| |
This patch updates libnitrokey from version 3.4.1 to version 3.5 and
lists all API changes in the changelog.
|
|
|
|
|
|
| |
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.
|
|
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.
|