12 lines
380 B
Rust
12 lines
380 B
Rust
include!("server/listeners.rs");
|
|
#[cfg(target_os = "linux")]
|
|
pub(crate) mod sendfile;
|
|
#[cfg(target_os = "linux")]
|
|
type TransportSendfileSlots = Option<sendfile::SendfileSlots>;
|
|
#[cfg(not(target_os = "linux"))]
|
|
type TransportSendfileSlots = ();
|
|
include!("server/http.rs");
|
|
include!("server/tls_runtime.rs");
|
|
include!("server/http1_connection.rs");
|
|
include!("server/serve/mod.rs");
|