1#![doc = include_str!("../README.md")]
2#![deny(missing_docs)]
3#[cfg(all(any(feature = "http2", feature = "http3"), not(feature = "rust-tls")))]
4compile_error!("http2 and http3 requires rust-tls!");
5
6pub mod host;
8pub mod listener;
10pub mod rt;
12#[cfg(test)]
14mod tests;
15mod tls;
17
18pub use crate::rt::Vetis;
19pub use vetis::{
20 base::VetisServer,
21 errors,
22 host::{handler_fn, HostConfig},
23 listener::ListenerConfig,
24 request::Request,
25 response::Response,
26 security::SecurityConfig,
27 server::ServerConfig,
28 VetisHosts, VetisRwLock,
29};