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

#233 in Cryptography

Download history 693/week @ 2024-07-12 958/week @ 2024-07-19 979/week @ 2024-07-26 925/week @ 2024-08-02 688/week @ 2024-08-09 654/week @ 2024-08-16 683/week @ 2024-08-23 956/week @ 2024-08-30 1085/week @ 2024-09-06 902/week @ 2024-09-13 998/week @ 2024-09-20 866/week @ 2024-09-27 643/week @ 2024-10-04 775/week @ 2024-10-11 1384/week @ 2024-10-18 1149/week @ 2024-10-25

4,088 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