sim_web_shell/lib.rs
1//! `sim-web-shell`: the binary that serves the SIM WebUI shell.
2//!
3//! The crate embeds its `web/` browser assets and serves cookbook APIs through
4//! the shared server/cookbook libraries. The browser shell is a thin Scene
5//! painter and Intent emitter with an Atelier cache view over the generated
6//! Site graph, constellation index, Retrieval Radar, and Guideline Firewall
7//! reports. The shell ships no second data model and no second semantics.
8
9#![forbid(unsafe_code)]
10#![deny(missing_docs)]
11
12mod assets;
13mod atelier;
14mod cli;
15mod live;
16mod serve;
17
18pub use assets::{Asset, asset_for};
19pub use atelier::{AtelierWebResponse, AtelierWebState};
20pub use cli::{AtelierCliLib, BrowseCliLib};
21pub use live::{
22 DEFAULT_PANE, DEFAULT_RESOURCE, LiveSession, decode_intent_body, encode_patches, encode_scene,
23 error_json,
24};
25pub use serve::{ServeConfig, serve};
26
27#[cfg(test)]
28mod tests;