Skip to main content

impulse_static_server/
lib.rs

1//! Static server for your frontend.
2//!
3//! You can use it by itself (with `cargo build`) or include
4//! as a library and use `frontend_router()`.
5
6#![warn(missing_docs)]
7#![deny(warnings, clippy::todo, clippy::unimplemented)]
8#![feature(if_let_guard, string_from_utf8_lossy_owned)]
9
10mod caching;
11mod static_routes;
12
13pub use caching::CacheMap;
14pub use static_routes::{
15  NoRedirectStaticRouter, ProvidedRoutesStaticRouter, StaticRouter, frontend_router, frontend_router_from_given_dist,
16};