1#![deny(unsafe_code)]
30#![deny(clippy::unwrap_used)]
31#![warn(missing_docs)]
32
33#[cfg(not(any(feature = "xml-backend-xmloxide", feature = "xml-backend-roxmltree")))]
34compile_error!("select one XML backend feature: `xml-backend-xmloxide` or `xml-backend-roxmltree`");
35
36pub mod c14n;
37pub mod document;
38pub mod encoding;
39pub mod error;
40mod hard_limits;
41#[cfg(any(feature = "xmldsig", feature = "xmlenc"))]
42pub mod policy;
43#[cfg(any(feature = "xmldsig", feature = "xmlenc"))]
44pub mod provider;
45mod xml;
46
47pub use xml::IdAttributeRegistration;
48
49#[cfg(feature = "xmldsig")]
50pub mod xmldsig;
51
52#[cfg(feature = "xmlenc")]
53pub mod xmlenc;
54
55#[cfg(any(feature = "xmldsig", feature = "xmlenc"))]
56pub use document::XmlDocumentPolicy;
57pub use document::{
58 AttributeIdentity, DocumentIdentity, DocumentView, NamespaceIdentity, NodeIdentity,
59 SemanticOrder, XmlDocument, XmlDocumentError,
60};
61pub use error::XmlSecError;