sasl2-sys 0.1.0

Bindings for Cyrus SASL.
docs.rs failed to build sasl2-sys-0.1.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: sasl2-sys-0.1.20+2.1.28

Bindings to Cyrus SASL.

This crate provides raw bindings to the Cyrus SASL library, libsasl2. Each module corresponds to a public header file in the C API.

Build configuration

Vendored

If the vendored Cargo feature is enabled, a bundled copy of libsasl2 will be compiled and statically linked. The libsasl2 version will generally track the latest upstream release. Note that the version number of this crate is unrelated to the bundled version of libsasl2.

sasl2-sys is currently bundling libsasl2 v2.1.27.

System

Without the vendored Cargo feature, sasl2-sys will search for the libsasl2 library and headers in several standard locations. If the pkg-config feature is enabled, as it is by default, pkg-config will be queried for the location of the sasl2 library.

When linking against the system-provided library, dynamic linking is preferred unless the SASL2_STATIC variable is set.

Platform support

Upstream supports most major platforms, but sasl2-sys is only tested on recent versions of Ubuntu, CentOS, and macOS. Patches that improve support for other platforms are welcome.