#![deny(unsafe_code)]
#![deny(clippy::unwrap_used)]
#![warn(missing_docs)]
#[cfg(not(any(feature = "xml-backend-xmloxide", feature = "xml-backend-roxmltree")))]
compile_error!(
"compile at least one XML backend: `xml-backend-xmloxide` or `xml-backend-roxmltree`"
);
pub mod c14n;
pub mod document;
pub mod encoding;
pub mod error;
mod hard_limits;
#[cfg(any(feature = "xmldsig", feature = "xmlenc"))]
mod operation;
#[cfg(any(feature = "xmldsig", feature = "xmlenc"))]
pub mod policy;
#[cfg(any(feature = "xmldsig", feature = "xmlenc"))]
pub mod provider;
mod xml;
pub use xml::IdAttributeRegistration;
pub use xml::dom::{
Ancestors, Attribute, Attributes, Children, Descendants, Document, Document as XmlDomDocument,
ExpandedName, Namespace, Namespaces, Node, Node as XmlDomNode, NodeId, NodeId as XmlDomNodeId,
NodeType, PI, ParseError, ParseError as XmlDomParseError, ParsingOptions,
ParsingOptions as XmlDomParsingOptions, XmlBackend,
};
#[cfg(feature = "xmldsig")]
pub mod xmldsig;
#[cfg(feature = "xmlenc")]
pub mod xmlenc;
#[cfg(any(feature = "xmldsig", feature = "xmlenc"))]
pub use document::XmlDocumentPolicy;
pub use document::{
AttributeIdentity, DocumentIdentity, DocumentView, NamespaceIdentity, NodeIdentity,
SemanticOrder, XmlDocument, XmlDocumentError,
};
pub use error::XmlSecError;