hyphae_server/lib.rs
1// SPDX-License-Identifier: Apache-2.0
2
3//! Secure loopback-first HTTP delivery for public versioned contracts.
4//!
5//! Opening the embedded engine does not start a listener. Callers explicitly
6//! construct [`HyphaeServer`], bind it, and provide a graceful-shutdown future.
7
8mod config;
9mod error;
10mod server;
11
12pub use config::{BearerToken, DEFAULT_PORT, ServerConfig, ServerConfigError, ServerLimits};
13pub use error::ServerError;
14pub use server::{BoundServer, HyphaeServer};
15
16use error::ApiError;