aboutsummaryrefslogtreecommitdiff
path: root/Makefile
Commit message (Collapse)AuthorAge
* Automatically refresh patchesRobin Krahl2020-09-20
| | | | | This patch adds the --refresh option to the quilt push invocation in the Makefile to automatically update the patches if the context changed.
* Derive Default for libnitrokey structsRobin Krahl2020-09-20
| | | | | | | | 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.
* Use quilt to manage modifications in src/ffi.rsRobin Krahl2020-09-20
| | | | | | 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.
* 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.