impulse-static-server 1.1.9

Simple static server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Static server for your frontend.
//!
//! This crate is a thin re-export of the `static_server` module in
//! `impulse-server-kit`. Use the binary `iks` to run a stand-alone static
//! server, or pull these items in as a library:
//!
//! ```rust,ignore
//! use impulse_static_server::{frontend_router, StaticRouter};
//! ```

#![warn(missing_docs)]
#![deny(warnings, clippy::todo, clippy::unimplemented)]

pub use impulse_server_kit::static_server::{
  CacheMap, CachedFile, NoRedirectStaticRouter, ProvidedRoutesStaticRouter, StaticRouter, assets_only_router_from,
  cache_runner, frontend_router, frontend_router_from_given_dist, send_file, send_html,
};