Skip to main content

mini_static/
lib.rs

1#![doc = include_str!("../README.md")]
2
3mod error;
4mod handler;
5mod minify;
6mod minify_cache;
7mod reload;
8mod resolve;
9mod server;
10mod watcher;
11
12pub use error::StaticError;
13pub use handler::ResponseBody;
14pub use minify::{minify, MinifyError};
15pub use reload::{reload_event_frame, ChangeType, LIVE_RELOAD_PATH};
16pub use resolve::{resolve, resolve_with_canonical_root};
17pub use server::{Server, ServerHandle};
18pub use watcher::{Broadcaster, ChangeEvent, start_watching};