Skip to content

gpg-rs/libgpg-error

Repository files navigation

libgpg-error

Build Status crates.io version LGPL-2.1 licensed downloads

libgpg-error bindings for Rust.

Using

To use the crate, add it to your depedencies:

$ cargo add libgpg-error

Requirements

These crates require the libgpg-error library and its development files to be installed. The build script uses the system-deps crate to attempt to locate them (or the registry on Windows).

On Debian/Ubuntu based systems:

$ sudo apt-get install libgpg-error-dev

On Fedora/RHEL based systems:

$ sudo dnf install libgpg-error-devel

On MacOS systems:

$ brew install gnupg

On Windows 10 (1709 or later) systems:

$ winget install --id GnuPG.Gpg4win

On Windows systems, download and install the official Gpg4win installer. Users will need to ensure at runtime that the neccessary dll files can be found somewhere in the default libary search path. The installer will ensure this only for 32-bit Windows targets.

License

The libgpg-error and libgpg-error-sys crates are licensed under the LGPL-2.1 license. Files under vendor are part of libgpg-error and are licensed under LGPL-2.1-or-later.