hyper_static_server/
lib.rs

1
2
3#![ allow (warnings) ]
4// #![ cfg_attr (feature = "features-fuzzing", deny (warnings)) ]
5
6
7
8
9#[ cfg (feature = "server") ]
10pub(crate) mod server;
11
12#[ cfg (feature = "server") ]
13pub use crate::main::main_serve_with_static;
14
15#[ cfg (feature = "server") ]
16pub use crate::server::*;
17
18
19
20
21#[ cfg (feature = "exporter") ]
22pub(crate) mod exporter;
23
24#[ cfg (feature = "exporter") ]
25pub use crate::main::main_export_with_static;
26
27#[ cfg (feature = "exporter") ]
28pub use crate::exporter::*;
29
30
31
32
33#[ cfg (feature = "support-builder") ]
34pub(crate) mod builder_errors;
35
36#[ cfg (feature = "support-builder") ]
37pub use crate::builder_errors::*;
38
39
40#[ cfg (feature = "builder") ]
41pub(crate) mod builder;
42
43#[ cfg (feature = "builder-macros") ]
44pub(crate) mod builder_macros;
45
46#[ cfg (feature = "builder") ]
47pub use crate::builder::*;
48
49
50
51
52#[ cfg ( any (feature = "server", feature = "exporter") ) ]
53pub(crate) mod main;
54
55#[ cfg ( any (feature = "server", feature = "exporter") ) ]
56pub use crate::main::{
57		main,
58		main_wrapper,
59	};
60
61
62
63
64#[ cfg (feature = "runtime") ]
65pub(crate) mod runtime;
66
67#[ cfg (feature = "runtime-macros") ]
68pub(crate) mod runtime_macros;
69
70#[ cfg (feature = "runtime") ]
71pub use crate::runtime::*;
72
73
74#[ cfg (feature = "runtime") ]
75#[ cfg (feature = "runtime-askama") ]
76pub(crate) mod runtime_askama;
77
78#[ cfg (feature = "runtime") ]
79#[ cfg (feature = "runtime-askama") ]
80pub use crate::runtime_askama::*;
81
82
83#[ cfg (feature = "runtime") ]
84#[ cfg (feature = "runtime-sitemaps") ]
85pub(crate) mod runtime_sitemaps;
86
87#[ cfg (feature = "runtime") ]
88#[ cfg (feature = "runtime-sitemaps") ]
89pub use crate::runtime_sitemaps::*;
90
91
92
93
94#[ cfg (any (feature = "runtime", feature = "support-builder") ) ]
95pub use ::hyper_simple_server as hss;
96
97#[ cfg (feature = "runtime") ]
98#[ cfg (feature = "runtime-hss-exports") ]
99pub use ::hyper_simple_server::*;
100
101
102
103
104#[ cfg (feature = "support-sass") ]
105pub mod support_sass;
106
107#[ cfg (feature = "support-markdown") ]
108pub mod support_markdown;
109