microsandbox-network 0.4.4

Networking types and smoltcp engine for the microsandbox project.
Documentation
//! Network policy model and rule matching.
//!
//! Policy types use first-match-wins semantics. Rules are evaluated in order
//! against packet headers. Domain-based rules rely on a resolved-hostname
//! index to map destination IPs back to domain names.

mod builder;
pub mod destination;
mod name;
mod types;

//--------------------------------------------------------------------------------------------------
// Re-Exports
//--------------------------------------------------------------------------------------------------

pub use builder::{BuildError, NetworkPolicyBuilder, RuleBuilder, RuleDestinationBuilder};
pub use destination::*;
pub use name::{DomainName, DomainNameError};
pub use types::*;