ling-net 2030.0.3

Async networking — HTTP, WebSocket, QUIC, and peer-to-peer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! 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;

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

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