gpg-error 0.5.0

Libgpg-error bindings for Rust
docs.rs failed to build gpg-error-0.5.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: gpg-error-0.6.1

libgpg-error

LGPL-2.1 licensed Crates.io

libgpg-error bindings for Rust.

Building

These crates require the libgpg-error library and its development files (e.g., headers, gpg-error-config) to be installed. The buildscript will attempt to detect the necessary information using the gpg-error-config script distributed with libgpg-error. If for whatever reason this does not work, the required information can also be specified using one or more environment variables:

  • LIBGPG_ERROR_INCLUDE specifies the path(s) where header files can be found.
  • LIBGPG_ERROR_LIB_DIR specifies the path(s) where library files (e.g., *.so, *.a, *.dll, etc.) can be found.
  • LIBGPG_ERROR_LIBS specifies the name(s) of all required libraries.
  • LIBGPG_ERROR_STATIC controls whether libraries are linked to statically or dynamically by default. Individual libraries can have their linkage overridden by prefixing their names with either static= or dynamic= in LIBGPG_ERROR_LIBS.
  • LIBGPG_ERROR_CONFIG specifies the path to the gpg-error-config script.

Each environment variable, with the exceptions of LIBGPG_ERROR_STATIC and LIBGPG_ERROR_CONFIG, can take multiple values separated by the platform's path separator.

NOTE: Previous versions of these crates bundled the sources of the libgpg-error library and attempted to build them via the buildscript. This is no longer supported.