Skip to main content

ferron_common/util/
mod.rs

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