ling_net/lib.rs
1//! ling-net — async networking for Ling.
2//!
3//! Feature flags (all off by default except `http`):
4//! - `http` — axum server + reqwest client
5//! - `websocket` — tokio-tungstenite
6//! - `quic` — quinn (QUIC/HTTP-3)
7//! - `grpc` — tonic + prost
8
9pub mod error;
10pub mod types;
11
12#[cfg(feature = "http")]
13pub mod http;
14
15pub use error::NetError;
16pub use types::{HttpMethod, Request, Response};
17
18pub const VERSION: &str = env!("CARGO_PKG_VERSION");