cap-std 0.7.0

Capability-oriented version of the Rust standard library
Documentation
//! A capability-oriented network API modeled after `std::net`.
//!
//! XXX: The interfaces in this module are not yet implemented.
//!
//! This corresponds to [`std::net`].
//!
//! Instead of [`std::net`]'s constructor methods which take an address to
//! connect to, this crates has methods on [`Catalog`] which operate on addresses
//! which must be present in the catalog.
//!
//! [`std::net`]: https://doc.rust-lang.org/std/net/
//! [`Catalog`]: struct.Catalog.html

mod catalog;
mod incoming;
mod tcp_listener;
mod tcp_stream;
mod udp_socket;

pub use catalog::*;
pub use incoming::*;
pub use tcp_listener::*;
pub use tcp_stream::*;
pub use udp_socket::*;

// Re-export things from `std::net` that we can use as-is.
pub use std::net::{
    AddrParseError, IpAddr, Ipv4Addr, Ipv6Addr, Shutdown, SocketAddr, SocketAddrV4, SocketAddrV6,
    ToSocketAddrs,
};

// TODO: re-export experimental Ipv6MulticastScope?