# rustsaml
[](https://crates.io/crates/rustsaml)
[](https://docs.rs/rustsaml)
[](https://github.com/salasebas/saml-rs/blob/main/LICENSE)
**Deprecated.** `rustsaml` will no longer be maintained. Use
[`saml-rs`](https://crates.io/crates/saml-rs).
The implementation, examples, and issue tracker are in
[salasebas/saml-rs](https://github.com/salasebas/saml-rs). There has been no
external security audit.
**Help:** [open an issue](https://github.com/salasebas/saml-rs/issues) on the
source repository.
## How to switch to saml-rs
Replace the dependency and the import. The API is the same. The import path
changes from `rustsaml` to `saml_rs`.
```toml
[dependencies]
saml-rs = "0.5"
```
```rust
use saml_rs::{Saml, Sp};
```
This package remains a compatibility re-export, so an existing dependency
keeps resolving.
Follow the [saml-rs guide](https://github.com/salasebas/saml-rs/blob/main/README.md):
- [Signed SSO example](https://github.com/salasebas/saml-rs/blob/main/examples/sso.rs)
- [Single Logout example](https://github.com/salasebas/saml-rs/blob/main/examples/slo.rs)
- [API reference](https://docs.rs/saml-rs)
- [Migration guides](https://github.com/salasebas/saml-rs/blob/main/docs/migrations/README.md)
From a clone of the source repository:
```sh
cargo run -p saml-rs --example sso
```
## Security
The properties are the
[saml-rs security notes](https://github.com/salasebas/saml-rs/blob/main/README.md#security).
## License
[MIT](https://github.com/salasebas/saml-rs/blob/main/LICENSE).