OpenSAML by Sebastian Sala

OSSRust

OpenSAML

SAML 2.0 for Rust with no C dependencies. Service Provider and Identity Provider flows without libxml2 or OpenSSL.

OpenSAML is a SAML 2.0 library that covers both Service Provider and Identity Provider flows. The protocol layer is Rust from end to end, so a build needs no libxml2, xmlsec, or OpenSSL. XML signatures and encryption go through the bergshamra crate.

It supports the HTTP-POST, HTTP-Redirect, and HTTP-POST-SimpleSign bindings, along with metadata and single logout, and the crate forbids unsafe code. It is published on crates.io as saml-rs.