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.
The Rust SASL framework
rsasl is an framework for RFC 4422; the Simple Authentication and Security Layer — aka SASL.
rsasl provide a large number of mechanisms by itself: (Crossed off ones are ported to pure Rust already, striked through ones aren't yet implemented in the 2.0 version / main branch)
- EXTERNAL
- ANONYMOUS
- PLAIN
- LOGIN
- CRAM-MD5
- DIGEST-MD5
- SCRAM-SHA-1
- SCRAM-SHA-256
-
NTLM - SECURID
-
GSSAPI -
GS2-KRB5 - SAML20
- OPENID20
-
KERBEROS_V5
Additional mechanisms can be implemented by other crates.
Conditional compilation of mechanism
rsasl allows users to select the available mechanisms at compile time using cargo features.
For an overview refer to the module documentation of rsasl::mechanisms
.
Versions
Major version 1 of this crate uses gsasl-sys which are binding
to GNU gsasl. This makes the use of unsafe
code and FFI necessary.
You can find the latest 1.X.Y version in the branch 1.X.X
Version 2.0.0-preview
is a pure-Rust rewrite using sources transpiled using c2rust.
Keep in mind that despite being Rust this code is as least as unsafe as the original C code. Most of this unsafe
code will be removed before the first non-preview 2.0.0
release.
License
Version 2 of this library is a transpilation of gsasl and thus under the very same license of LGPL 2.1 or later.
Examples
You can find a few examples on GitHub.