impulse-static-server 0.12.0-alpha.3

Simple static server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Static server for your frontend.
//!
//! You can use it by itself (with `cargo build`) or include
//! as a library and use `frontend_router()`.

#![warn(missing_docs)]
#![deny(warnings, clippy::todo, clippy::unimplemented)]
#![feature(if_let_guard, let_chains, string_from_utf8_lossy_owned)]

mod caching;
mod static_routes;

pub use caching::CacheMap;
pub use static_routes::{
  NoRedirectStaticRouter, ProvidedRoutesStaticRouter, StaticRouter, frontend_router, frontend_router_from_given_dist,
};