Skip to content

Install

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

[dependencies]
saml-rs = "0.6"

That default turns signing and encryption on with RustCrypto. Check the version you pin on crates.io.

To build messages without cryptography:

[dependencies]
saml-rs = { version = "0.6", default-features = false }

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