ling-net 2030.0.0

Async networking — HTTP, WebSocket, QUIC, and peer-to-peer
Documentation
//! ling-net — async networking for Ling.
//!
//! Feature flags (all off by default except `http`):
//! - `http`      — axum server + reqwest client
//! - `websocket` — tokio-tungstenite
//! - `quic`      — quinn (QUIC/HTTP-3)
//! - `grpc`      — tonic + prost

pub mod error;
pub mod types;

#[cfg(feature = "http")]
pub mod http;

#[cfg(feature = "websocket")]
pub mod ws;

#[cfg(feature = "quic")]
pub mod quic;

pub use error::NetError;
pub use types::{HttpMethod, Request, Response};

pub const VERSION: &str = env!("CARGO_PKG_VERSION");