comdirect_rest_api/
lib.rs1#![doc = r#"
2`comdirect-rest-api` is a high-availability client library for the comdirect REST API.
3
4The crate is organized in layers:
5
6- `session` is the orchestration layer (auth lifecycle, refresh worker, callbacks)
7- `accounts` and `brokerage` are typed business endpoint facades
8- internal `infrastructure` and `shared` modules handle HTTP, retry, parsing, and panic recovery
9
10The public API intentionally exposes only typed operations. Raw JSON endpoint calls are kept internal.
11"#]
12
13pub mod accounts;
14pub mod auth;
15pub mod brokerage;
16pub mod error;
17pub mod session;
18pub mod types;
19
20#[cfg(feature = "web")]
21pub mod web;
22
23mod application;
24mod infrastructure;
25mod shared;
26
27pub use auth::{LoginChallenge, TanAction};
28pub use error::{ComdirectError, Result};
29pub use session::{Session, SessionConfig};
30pub use shared::shutdown::wait_for_shutdown_signal;
31pub use types::SessionStateType;