-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Put `TokioExecutor` and `TokioIo` into a single `rt::tokio` module. - The `rt::tokio` module is behind a `tokio` crate feature. - Changed `auto` crate feature to `server-auto`. - Added `client-legacy` crate feature, with `client::legacy` behind it. - Removed `tcp` and `runtime` features, code now depends on the `tokio` feature.
- Loading branch information
1 parent
de1ff4c
commit 4a5cce9
Showing
8 changed files
with
85 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
//! HTTP client utilities | ||
|
||
/// Legacy implementations of `connect` module and `Client` | ||
#[cfg(feature = "client-legacy")] | ||
pub mod legacy; | ||
#[doc(hidden)] | ||
pub mod pool; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
//! Runtime utilities | ||
|
||
/// Implementation of [`hyper::rt::Executor`] that utilises [`tokio::spawn`]. | ||
pub mod tokio_executor; | ||
mod tokio_io; | ||
#[cfg(feature = "tokio")] | ||
pub mod tokio; | ||
|
||
pub use tokio_executor::TokioExecutor; | ||
pub use tokio_io::TokioIo; | ||
#[cfg(feature = "tokio")] | ||
pub use self::tokio::{TokioExecutor, TokioIo}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.