oxvif 0.6.0

Async Rust client library for the ONVIF IP camera protocol
Documentation
//! SOAP protocol layer for ONVIF.
//!
//! This module handles everything between the raw HTTP string and the typed
//! ONVIF response structs:
//!
//! 1. **Envelope construction** ([`SoapEnvelope`]) — wraps a body fragment in
//!    a fully-namespaced `<s:Envelope>`, optionally with a WS-Security header.
//! 2. **WS-Security** ([`WsSecurityToken`]) — generates a `UsernameToken`
//!    with `PasswordDigest` (SHA-1, base64-encoded) as required by ONVIF
//!    Profile S §5.12.
//! 3. **XML parsing** ([`XmlNode`], [`parse_soap_body`], [`find_response`]) —
//!    a namespace-stripping DOM built with `quick-xml`.
//! 4. **Error types** ([`SoapError`]) — structured errors for parse failures,
//!    missing fields, and SOAP Faults.

pub mod envelope;
pub mod error;
pub mod security;
pub mod xml;

pub use envelope::SoapEnvelope;
pub use error::SoapError;
pub use security::WsSecurityToken;
pub use xml::{XmlNode, find_response, parse_soap_body};