Skip to content

Install

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

Terminal window
cargo add saml-rs --git https://github.com/salasebas/saml-rs.git --branch main

The default features turn signing and encryption on with RustCrypto.

To build messages without cryptography:

Terminal window
cargo add saml-rs --git https://github.com/salasebas/saml-rs.git --branch main --no-default-features

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