blob: 343b7b551a2303d395eed01bdf108daff83eb170 (plain
Low-level Rust bindings for `libnitrokey`, providing access to Nitrokey
This crate contains a copy of the [`libnitrokey`] library, builds it from
source and links it statically. The host system must provide its dependencies
in the library search path:
- `libhidapi-libusb0` (on Linux)
- `libhidapi` (on non-Linux systems)
If you set the `USE_SYSTEM_LIBNITROKEY` environment variable when building this
crate, it links directly against `libnitrokey` instead of building it from
source. In this case, `libnitrokey` must be available in the library search
The major and minor version of the `nitrokey-sys` crate map to the major and
minor version of `libnitrokey`. The `nitrokey-sys` patch version may be
For bug reports, patches, feature requests or other messages, please send a
mail to [firstname.lastname@example.org].
This project as well as `libnitrokey` are licensed under the [LGPL-3.0].