| 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.
 | 
| | 
| 
| 
| 
|  | 
The main reason for this update is the build time improvement due to the
syntex replacement in version 0.31.0.
 | 
| | 
| 
| 
| 
|  | 
Instead of relying on the libnitrokey headers installed on the system
(via wrapper.h), use the included NK_C_API.h directly.
 | 
| | 
| 
| 
| 
| 
|  | 
To make the build process easier, we can include the source code for
libnitrokey-3.3.  Now bindgen can access the header file directly.  We
might even want to compile our own libnitrokey.
 | 
| |  | 
 | 
| | 
| 
| 
| 
| 
|  | 
The crate is going to include the libnitrokey sources, which are
licensed under LGLP-3.0.  To make licensing easier, the license for the
complete crate is changed from MIT to LGPG-3.0.
 | 
| |  | 
 | 
|   
  
  
  
   | 
Previously, this crate has been part of the nitrokey-rs repository at
https://git.ireas.org/nitrokey-rs.
 |