#![forbid(unsafe_code)]
mod common;
#[cfg(feature = "mtls")]
mod pem;
#[cfg(any(feature = "client", feature = "server"))]
mod wire_io;
#[cfg(feature = "client")]
mod client;
#[cfg(feature = "server")]
mod server;
#[cfg(all(feature = "client", feature = "mtls"))]
pub use client::ClientIdentity;
#[cfg(feature = "outbound-proxy")]
pub use client::validate_outbound_proxy;
#[cfg(feature = "client")]
pub use client::{
ApplicationStream, Client, ClientBuilder, ClientConfig, ClientHandle, ClientTransportProfile,
TargetConnector, TargetContext, TargetError, TargetFuture, TargetStream,
};
pub use common::{
BindPolicy, ClientService, HeartbeatSnapshot, ResourceLimits, RuntimePolicy, SecretToken,
ServiceSpec, Snapshot, TerminationCategory, TimeoutPolicy, TunnelError,
};
pub use eggtunnel_proto as proto;
#[cfg(feature = "server")]
pub use server::{Server, ServerBuilder, ServerConfig, ServerHandle, ServerTransportProfile};