bezant-server 0.3.0

HTTP sidecar exposing the bezant IBKR CPAPI client over REST
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Library half of `bezant-server`.
//!
//! The binary in `main.rs` is a thin shell around the reusable pieces here:
//! [`router`] builds an [`axum::Router`] wired to the CPAPI pass-through
//! handlers, and [`AppState`] is the shared bag of state every handler
//! needs. Integration tests build the same router against wiremock
//! instead of a real gateway.

#![deny(missing_docs)]

mod error;
mod routes;
mod state;

pub use error::{AppError, ErrorBody};
pub use routes::router;
pub use state::AppState;