soma_runtime/lib.rs
1// Render per-item feature-requirement badges when rustdoc runs on nightly with
2// `--cfg docsrs` (docs.rs posture; locally via `cargo xtask doc --docsrs-cfg`).
3// Inert under the stable CI doc gate: stable rustdoc never sets `docsrs`.
4#![cfg_attr(docsrs, feature(doc_auto_cfg))]
5pub mod server;
6
7#[cfg(feature = "protected-routes")]
8pub mod protected_routes;
9#[cfg(feature = "protected-routes")]
10mod protected_routes_proxy;
11#[cfg(all(test, feature = "protected-routes"))]
12mod test_support;
13
14pub use server::{
15 resolve_auth_policy_kind, AppState, AuthPolicy, AuthPolicyKind, ResponsePageStore, SomaRuntime,
16};