Skip to content

Install

Add the crate to the package that runs the SAML flow. You need Rust 1.88 or newer.

Terminal window
cargo add saml-rs

Cargo records the latest published release. The default features turn signing and encryption on with RustCrypto. Releases are listed on crates.io.

To build messages without cryptography:

Terminal window
cargo add saml-rs --no-default-features

Signing, verification, and encryption then return SamlError::Unsupported.

Next