20 releases

0.6.2 Oct 22, 2024
0.6.1 Apr 13, 2024
0.6.0 Nov 1, 2022
0.5.2 Aug 9, 2020
0.1.1 Jul 6, 2015

#174 in Cryptography

Download history 633/week @ 2024-08-17 775/week @ 2024-08-24 945/week @ 2024-08-31 1055/week @ 2024-09-07 983/week @ 2024-09-14 992/week @ 2024-09-21 855/week @ 2024-09-28 528/week @ 2024-10-05 944/week @ 2024-10-12 1370/week @ 2024-10-19 1109/week @ 2024-10-26 756/week @ 2024-11-02 793/week @ 2024-11-09 1156/week @ 2024-11-16 1190/week @ 2024-11-23 1152/week @ 2024-11-30

4,403 downloads per month
Used in 32 crates (2 directly)

LGPL-2.1

96KB
1.5K SLoC

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.

Dependencies

~0–1.3MB
~11K SLoC