ferron_common/util/
mod.rs

1mod anti_xss;
2mod config_macros;
3mod default_html_page;
4mod header_placeholders;
5mod ip_blocklist;
6mod is_localhost;
7mod match_hostname;
8mod match_location;
9mod module_cache;
10#[cfg(feature = "runtime-monoio")]
11mod monoio_file_stream;
12#[cfg(feature = "runtime-monoio")]
13mod monoio_file_stream_no_spawn;
14mod no_server_verifier;
15mod parse_q_value_header;
16#[cfg(feature = "runtime-monoio")]
17mod send_async_io;
18#[cfg(feature = "runtime-monoio")]
19mod send_rw_stream;
20mod sizify;
21mod ttl_cache;
22
23pub use anti_xss::*;
24pub use header_placeholders::*;
25pub use ip_blocklist::*;
26pub use is_localhost::*;
27pub use match_hostname::*;
28pub use match_location::*;
29pub use module_cache::*;
30#[cfg(feature = "runtime-monoio")]
31pub use monoio_file_stream::*;
32#[cfg(feature = "runtime-monoio")]
33pub use monoio_file_stream_no_spawn::*;
34pub use no_server_verifier::*;
35pub use parse_q_value_header::*;
36#[cfg(feature = "runtime-monoio")]
37pub use send_async_io::*;
38#[cfg(feature = "runtime-monoio")]
39pub use send_rw_stream::*;
40pub use sizify::*;
41pub use ttl_cache::*;
42
43/// The web server software identifier
44pub const SERVER_SOFTWARE: &str = "Ferron";