lexe_api/lib.rs
1//! Crate containing Lexe API types, definitions, client/server utils, TLS.
2
3/// Make all of [`lexe_api_core`] available under [`lexe_api`].
4///
5/// NOTE: Any crates which can depend on `lexe_api_core` directly (without
6/// `lexe-api`) should do so to avoid [`lexe_api`] dependencies.
7pub use lexe_api_core::*;
8
9/// Bearer auth and User Signup.
10pub mod auth;
11/// A client and helpers that enforce common REST semantics across Lexe crates.
12pub mod rest;
13/// Webserver utilities.
14pub mod server;
15/// TLS acceptor wrapper for injecting client certs into server-side handlers.
16pub mod tls_acceptor;
17/// API tracing utilities for both client and server.
18pub mod trace;
19
20/// Feature-gated test utilities that can be shared across crate boundaries.
21#[cfg(any(test, feature = "test-utils"))]
22pub mod test_utils;