aboutsummaryrefslogtreecommitdiff
path: root/src/ffi.rs
Commit message (Collapse)AuthorAge
* Add Makefile for generating src/ffi.rsRobin Krahl2020-09-20
| | | | | | | 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.
* Mark deprecated functions using the deprecated attributeRobin Krahl2019-07-04
| | | | | | nitrokey-sys currently contains two deprecated functions: `NK_status` and `NK_totp_get_time`. This patch adds Rust’s `deprecated` attribute to the functions.
* Update to libnitrokey v3.5Robin Krahl2019-07-04
| | | | | This patch updates libnitrokey from version 3.4.1 to version 3.5 and lists all API changes in the changelog.
* Update to libnitrokey v3.4v3.4.0Robin Krahl2018-12-10
| | | | | | 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.
* 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.