gpgme 0.4.0

GPGme bindings for Rust
docs.rs failed to build gpgme-0.4.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: gpgme-0.11.0

rust-gpgme

Build Status LGPL-2.1 licensed crates.io

GPGme bindings for Rust.

Documentation

Requirements

Version 1.2.0 or greater of GPGme is required to use this library. Some features may require a more recent version.

The gpgme-sys crate requires the gpgme-config binary to be executable in order to build the crate. The paths to this binary can be set using the environment variable GPGME_CONFIG.

The required libraries and binaries can be installed by running:

Debian / Ubuntu

$ sudo apt-get install libgpgme11-dev

RHEL / CentOS / Fedora

$ sudo yum install gpgme-devel

Mac OS X

$ brew install gpgme

Usage

Put this in your Cargo.toml:

[dependencies]
gpgme = "*"

And this in your crate root:

extern crate gpgme;

Examples

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 <example@example.org>
valid  0: Unknown