Skip to main content

impulse_static_server/
lib.rs

1//! Static server for your frontend.
2//!
3//! This crate is a thin re-export of the `static_server` module in
4//! `impulse-server-kit`. Use the binary `iks` to run a stand-alone static
5//! server, or pull these items in as a library:
6//!
7//! ```rust,ignore
8//! use impulse_static_server::{frontend_router, StaticRouter};
9//! ```
10
11#![warn(missing_docs)]
12#![deny(warnings, clippy::todo, clippy::unimplemented)]
13
14pub use impulse_server_kit::static_server::{
15  CacheMap, CachedFile, NoRedirectStaticRouter, ProvidedRoutesStaticRouter, StaticRouter, assets_only_router_from,
16  cache_runner, frontend_router, frontend_router_from_given_dist, send_file, send_html,
17};