1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
#![crate_name = "staticfile"] #![deny(missing_docs)] #![deny(warnings)] #![cfg_attr(feature = "cache", feature(duration))] //! Static file-serving handler. extern crate time; #[cfg(feature = "cache")] extern crate filetime; extern crate iron; #[macro_use] extern crate log; extern crate mount; pub use static_handler::Static; #[cfg(feature = "cache")] pub use static_handler::Cache; mod requested_path; mod static_handler;