1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! # gamlastan::xml
//!
//! XML layer for SAML 2.0 - backed by the `uppsala` XML parser.
//!
//! This crate provides:
//!
//! - [`SamlDeserialize`] trait for zero-copy deserialization from XML into borrowed SAML types
//! - [`SamlSerialize`] trait for serialization of owned SAML types to XML
//! - [`helpers`] module with utility functions for XML element navigation and attribute access
//! - [`XmlError`] error types for XML-related operations
//!
//! ## Zero-Copy Parsing Flow
//!
//! ```text
//! XML string ──→ uppsala::parse() ──→ Document<'a> ──→ SamlDeserialize::from_xml()
//! │
//! ▼
//! ResponseRef<'a> (borrows from XML string)
//! │
//! ▼ .to_owned()
//! Response (owned, for storage)
//! ```
//!
//! ## Re-exports
//!
//! This crate re-exports key `uppsala` types for convenience.
// Re-export the core traits.
pub use ;
pub use XmlError;
pub use SamlSerialize;
// Re-export commonly used uppsala types for consumers of this crate.
pub use ;