| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
| |
This patch adds the --with-derive-default option to the bindgen
invocation so that it derives Default implementations for all
libnitrokey structs. This allows us to simplify code in nitrokey-rs,
for example the initialization of structs that are used in nitrokey-sys
functions with output parameters.
|
|
|
|
|
|
| |
Previously, we manually modified the src/ffi.rs file to add deprecation
attributes. With this patch, we use quilt to automatically apply
patches with the changes.
|
|
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.
|