Skip to main content

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/// Credentials (root seed / revocable client) used to control a Lexe wallet.
12pub mod credentials;
13/// A client and helpers that enforce common REST semantics across Lexe crates.
14pub mod rest;
15/// Webserver utilities.
16pub mod server;
17/// TLS acceptor wrapper for injecting client certs into server-side handlers.
18pub mod tls_acceptor;
19/// API tracing utilities for both client and server.
20pub mod trace;
21
22/// Feature-gated test utilities that can be shared across crate boundaries.
23#[cfg(any(test, feature = "test-utils"))]
24pub mod test_utils;