Files
alknet/crates/alknet-core/src/lib.rs

16 lines
590 B
Rust

//! alknet-core: Core library for ALPN-based protocol dispatch.
//!
//! Every handler crate depends on this crate. It provides the
//! [`ProtocolHandler`][crate::types::ProtocolHandler] trait, the
//! [`Connection`][crate::types::Connection] wrapper, auth primitives,
//! hot-reloadable configuration, and the [`AlknetEndpoint`][crate::endpoint::AlknetEndpoint]
//! that dispatches incoming QUIC connections by ALPN string.
pub mod auth;
pub mod config;
pub mod endpoint;
pub mod store;
pub mod types;
pub use store::{CredentialStore, EncryptedData, InMemoryCredentialStore, StoreError};