Skip to main content

mesofact_core/
lib.rs

1//! mesofact — tri-mode web server library + proxy binary.
2//! See `.yah/docs/working/mesofact.md` for the phased rollout plan.
3//!
4//! @yah:ticket(R009-T1, "Add axum/tokio deps + binary scaffold + proxy module export")
5//! @yah:at(2026-05-15T23:55:09Z)
6//! @yah:status(review)
7//! @yah:parent(R009)
8
9pub mod cache_policy;
10pub mod manifest;
11pub mod policy;
12pub mod proxy;
13pub mod validate;
14
15pub use cache_policy::CachePolicyTable;
16pub use manifest::{
17    CachePolicy, ErrorRoutes, Hydration, Manifest, Prerender, Requires, Route, RouteMode,
18    StaticAsset, MANIFEST_VERSION,
19};
20pub use policy::{check_manifest, PolicyCheckError, PolicyRefusal, PolicySupport, RoutePolicy};
21pub use proxy::cache::{compose_key, CacheEntry, CacheState, KeyInputs, ResponseCache};
22pub use proxy::session::{CookieSessionResolver, SessionResolver, User};
23pub use proxy::source_gen::Generations;
24pub use validate::{validate, SourceCatalog, SourceScope, ValidationError, ValidationErrorKind};