networkframework 0.2.0

Safe Rust bindings for Apple's Network.framework — modern, post-CFNetwork TCP / UDP / TLS / Bonjour networking on macOS
#![doc = include_str!("../README.md")]
//!
//! ---
//!
//! # API documentation

#![cfg_attr(docsrs, feature(doc_cfg))]

pub mod client;
pub mod error;
pub mod ffi;
pub mod listener;

pub use client::TcpClient;
pub use error::NetworkError;
pub use listener::TcpListener;

/// Common imports.
pub mod prelude {
    pub use crate::client::TcpClient;
    pub use crate::error::NetworkError;
    pub use crate::listener::TcpListener;
}