async_fcgi/
lib.rs

1/*! FastCGI implementation in pure Rust.
2
3Developed for [FlashRust Webserver](https://github.com/User65k/flash_rust_ws)
4with focus on
5- Vectorized IO and Zero Copy
6- async IO / tokio
7- easy [HTTP](https://crates.io/crates/http) interfaces
8
9 The default is only to provide the FastCGI Record parsing.
10 Use these features to get
11 - `con_pool`: [`client::con_pool::ConPool`] to manage a set of Connections
12 - `web_server`: [`client::connection::Connection`] to easily resolv HTTPRequests to HTTPResponses
13 - `app_start`: [`client::con_pool::ConPool`] gains prep_server methode to start an FCGI Application
14
15*/
16#![cfg_attr(docsrs, feature(doc_cfg))]
17
18mod bufvec;
19pub mod fastcgi;
20
21#[cfg(feature = "web_server")]
22#[cfg_attr(docsrs, doc(cfg(feature = "web_server")))]
23pub mod stream;
24#[cfg(feature = "web_server")]
25#[cfg_attr(docsrs, doc(cfg(feature = "web_server")))]
26pub use async_stream_connection::Addr as FCGIAddr;
27
28#[cfg(feature = "web_server")]
29#[cfg_attr(docsrs, doc(cfg(feature = "web_server")))]
30pub mod client;
31
32#[cfg(feature = "web_server")]
33#[cfg_attr(docsrs, doc(cfg(feature = "web_server")))]
34mod httpparse;
35
36#[cfg(feature = "application")]
37#[cfg_attr(docsrs, doc(cfg(feature = "application")))]
38pub mod server;
39
40#[cfg(feature = "codec")]
41#[cfg_attr(docsrs, doc(cfg(feature = "codec")))]
42pub mod codec;