Extract libnitrokey version from crate version
This patch uses the nitrokey-sys-rs crate version to extract the version of the contained libnitrokey and to deduce the name of the libnitrokey directory. The implementation uses these assumptions: 1. The crate major and minor version match the libnitrokey major and minor version. 2. If the crate has a pre-release version, it is assumed that this version has the format pre.<d>, where <d> is the output of `git describe` with all dashes replaced by dots. 3. The name of the libnitrokey directory is libnitrokey-<tag>, where <tag> is the corresponding Git version tag. 4. libnitrokey uses version tags of the format v<maj>.<min>, where <maj> the major version and <min> is the minor version.
|5 months ago|
|libnitrokey-v3.3||5 months ago|
|src||6 months ago|
|.gitignore||6 months ago|
|CHANGELOG.md||6 months ago|
|Cargo.toml||6 months ago|
|LICENSE||6 months ago|
|README.md||6 months ago|
|build.rs||5 months ago|
Low-level Rust bindings for
libnitrokey, providing access to Nitrokey
[dependencies] nitrokey-sys = "3.3.0"
The version of this crate corresponds to the wrapped
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:
For bug reports, patches, feature requests or other messages, please send a mail to email@example.com.
This project as well as
libnitrokey are licensed under the LGPL-3.0.