tiny_web/sys/workers/
mod.rs1#[cfg(feature = "fastcgi")]
3pub mod fastcgi;
4
5#[cfg(any(feature = "http", feature = "https"))]
10pub mod http;
11
12#[cfg(feature = "scgi")]
14pub mod scgi;
15
16#[cfg(feature = "uwsgi")]
18pub mod uwsgi;
19
20#[cfg(any(
24 not(any(
25 feature = "fastcgi",
26 feature = "http",
27 feature = "https",
28 feature = "scgi",
29 feature = "uwsgi"
30 )),
31 all(
32 feature = "fastcgi",
33 any(feature = "http", feature = "https", feature = "scgi", feature = "uwsgi")
34 ),
35 all(
36 feature = "http",
37 any(feature = "fastcgi", feature = "https", feature = "scgi", feature = "uwsgi")
38 ),
39 all(
40 feature = "https",
41 any(feature = "fastcgi", feature = "http", feature = "scgi", feature = "uwsgi")
42 ),
43 all(
44 feature = "scgi",
45 any(feature = "fastcgi", feature = "http", feature = "https", feature = "uwsgi")
46 ),
47 all(
48 feature = "uwsgi",
49 any(feature = "fastcgi", feature = "http", feature = "https", feature = "scgi")
50 ),
51))]
52compile_error!("Only one features from 'fastcgi', 'scgi', 'uwsgi', 'http', 'https' must be enabled for this crate.");