fastcgi_client/lib.rs
1// Copyright 2022 jmjoy
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15#![warn(rust_2018_idioms)]
16#![warn(clippy::dbg_macro, clippy::print_stdout, missing_docs)]
17#![cfg_attr(docsrs, feature(doc_cfg))]
18#![doc = include_str!("../README.md")]
19
20pub mod client;
21pub mod conn;
22mod error;
23pub mod io;
24mod meta;
25pub mod params;
26pub mod request;
27pub mod response;
28
29/// Re Export StreamExt for .next support
30pub use futures_util::stream::StreamExt;
31
32pub use crate::{client::Client, error::*, params::Params, request::Request, response::Response};