internet 0.0.2

Network library for rust
Documentation
//! # Internet
//!
//! Internet is a network library that provides encoding, structure mapping, communication primitives and implementations of network standards, protocols and algorithms in one place.
//!
//! ## Currently public
//!
//! | Protocol / Standard | Feature flags |
//! |---------------------|---------------|
//! | HTTP/1.1            | [`http1_1`]   |
//! | HTTP/3              | [`http3`]     |
//! | QUIC                | [`quic`]      |
//! | QUICv1              | [`quicv1`]    |
//! | QUICv2              | [`quicv2`]    |
//! | IP                  | [`ip`]        |
//! | IPv4                | [`ipv4`]      |
//! | IPv6                | [`ipv6`]      |
//! | ICMPv4              | [`icmpv4`]    |
//! | ICMPv6              | [`icmpv6`]    |
//! | Transport           | [`transport`] |
//!
//! Default features enable almost everything above (`std`, `http1_1`, `http3`, `quic`, `quicv1`, `quicv2`, `ipv4`, `ipv6`, `icmpv4`, `icmpv6`, `transport`).
//!
//! ## Feature relations
//!
//! - `http3` → `quicv1`
//! - `quicv2` → `quicv1` → `quic` → `transport`
//! - `icmpv4` → `ipv4` → `ip`
//! - `icmpv6` → `ipv6` → `ip`
//! - `std` → `alloc`
//!
//! ## Notes
//!
//! Some other protocol implementations exist but are still in MVP / unfiltered state and are not exposed publicly yet.

#![warn(missing_docs)]
#![cfg_attr(not(feature = "std"), no_std)]

mod primitives;
mod protocols;

pub use primitives::*;
pub use protocols::*;