dahua-camera-http 0.3.0

Digest-authenticating HTTP client for Dahua camera CGI endpoints
Documentation
//! Digest-authenticating HTTP client for a camera's own CGI interface.
//!
//! Every management protocol in this workspace — CGI control, the Dahua event
//! attach stream, ONVIF SOAP, snapshots, storage queries — reaches the camera
//! through [`CameraHttpClient`]. It exists as its own crate so that
//! `dahua-camera-events`, `-control`, `-onvif`, `-record` and `-discovery` can
//! share one connection pool and one Digest implementation without depending
//! on each other.
//!
//! # Credentials
//!
//! [`CameraHttpClient`] holds a password, so it implements [`std::fmt::Debug`]
//! by hand and prints the password as `<redacted>`. URLs are stripped of any
//! embedded userinfo before they reach a log line or an error message.
//!
//! # Features
//!
//! - `tls` — allow `https://` management URLs. Off by default.

#![warn(missing_docs)]
#![forbid(unsafe_code)]

pub mod client;

pub use client::CameraHttpClient;