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

#170 in Cryptography

Download history 1079/week @ 2024-07-24 1026/week @ 2024-07-31 761/week @ 2024-08-07 605/week @ 2024-08-14 701/week @ 2024-08-21 842/week @ 2024-08-28 925/week @ 2024-09-04 927/week @ 2024-09-11 1084/week @ 2024-09-18 916/week @ 2024-09-25 709/week @ 2024-10-02 733/week @ 2024-10-09 1066/week @ 2024-10-16 1217/week @ 2024-10-23 1047/week @ 2024-10-30 544/week @ 2024-11-06

4,045 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
~10K SLoC