11 releases (7 breaking)
|0.10.0||Aug 7, 2021|
|0.9.1||Sep 29, 2019|
|0.9.0||Jun 27, 2019|
|0.8.0||Jun 14, 2018|
|0.2.0||Jun 23, 2015|
#824 in Cryptography
1,222 downloads per month
Used in 22 crates (via gpgme)
GPGME bindings for Rust.
These crates require the gpgme library and its development files (e.g.,
headers, gpgme-config) to be installed. The buildscript will attempt to detect
the necessary information using the
gpgme-config script distributed with
gpgme. If for whatever reason this does not work, the required information can
also be specified using one or more environment variables:
GPGME_INCLUDEspecifies the path(s) where header files can be found.
GPGME_LIB_DIRspecifies the path(s) where library files (e.g., *.so, *.a, *.dll, etc.) can be found.
GPGME_LIBSspecifies the name(s) of all required libraries.
GPGME_STATICcontrols whether libraries are linked to statically or dynamically by default. Individual libraries can have their linkage overridden by prefixing their names with either
GPGME_CONFIGspecifies the path to the
Each environment variable, with the exceptions of
GPGME_CONFIG, can take multiple values separated by the platform's path
NOTE: These crates also depend on the gpg-error crate which has its own requirements.
NOTE: Previous versions of these crates bundled the sources of the gpgme library and attempted to build them via the buildscript. This is no longer supported.
Some simple example programs based on those in the GPGME sources can be found in examples.
They can be run with cargo:
$ cargo run --example keylist -- keyid : 89ABCDEF01234567 fpr : 0123456789ABCDEF0123456789ABCDEF01234567 caps : esc flags : userid 0: Example <firstname.lastname@example.org> valid 0: Unknown