notedthat_api_http/lib.rs
1//! HTTP API surface for `NotedThat` — axum router with static-Bearer auth.
2#![deny(missing_docs)]
3
4pub(crate) mod authz;
5pub mod error;
6pub mod middleware;
7pub mod router;
8pub mod search_route;
9pub mod state;
10
11// Exposed under `test-support` feature for integration tests in `tests/*.rs`
12// and under `cfg(test)` for unit tests within `src/`.
13// See module documentation for the rationale behind the feature-flag pattern.
14#[cfg(any(test, feature = "test-support"))]
15pub mod testing;