Make cookies an optional feature (default off)
This commit is contained in:
		| @@ -156,6 +156,7 @@ | ||||
| //!   `native-tls` library to connect over HTTPS. | ||||
| //! - **default-tls-vendored**: Enables the `vendored` feature of `native-tls`. | ||||
| //! - **rustls-tls**: Provides TLS support via the `rustls` library. | ||||
| //! - **cookies**: Provides cookie session support. | ||||
| //! | ||||
| //! | ||||
| //! [hyper]: http://hyper.rs | ||||
| @@ -172,8 +173,6 @@ | ||||
| ////! - **trust-dns**: Enables a trust-dns async resolver instead of default | ||||
| ////!   threadpool using `getaddrinfo`. | ||||
|  | ||||
| extern crate cookie as cookie_crate; | ||||
|  | ||||
| #[cfg(test)] | ||||
| #[macro_use] | ||||
| extern crate doc_comment; | ||||
| @@ -208,6 +207,7 @@ mod error; | ||||
| mod async_impl; | ||||
| pub mod blocking; | ||||
| mod connect; | ||||
| #[cfg(feature = "cookies")] | ||||
| pub mod cookie; | ||||
| //#[cfg(feature = "trust-dns")] | ||||
| //mod dns; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user