pharos_runtime_static/lib.rs
1#![forbid(unsafe_code)]
2
3/// Exposes the `artifact_server` module.
4///
5/// # Examples
6///
7/// ```rust,ignore
8/// use pharos_runtime_static::artifact_server;
9/// ```
10///
11/// # Related
12///
13/// - [`crate`] for sibling modules in the same crate.
14pub mod artifact_server;
15/// Exposes the `route_map` module.
16///
17/// # Examples
18///
19/// ```rust,ignore
20/// use pharos_runtime_static::route_map;
21/// ```
22///
23/// # Related
24///
25/// - [`crate`] for sibling modules in the same crate.
26pub mod route_map;
27
28pub use artifact_server::{
29 StaticResponse, StreamError, StreamResponse, path_has_parent_reference, run,
30 serve_artifact_request, serve_private_asset, serve_streamable_asset,
31};
32pub use route_map::write_route_map;
33
34/// Deployment-aware browser HTTP cache invalidation.
35pub mod browser_cache;
36pub mod error_page;
37pub mod navigation;