fix(lib): remove deprecated tokio-proto APIs

BREAKING CHANGE: Many of these APIs have been deprecated for a while,
  check the documentation for the recommended way to use hyper now.
This commit is contained in:
Sean McArthur
2018-02-15 15:41:05 -08:00
parent dbfc45bf5c
commit a37e6b59e6
10 changed files with 10 additions and 553 deletions

View File

@@ -33,8 +33,6 @@ extern crate relay;
extern crate time;
extern crate tokio_core as tokio;
#[macro_use] extern crate tokio_io;
#[cfg(feature = "tokio-proto")]
extern crate tokio_proto;
extern crate tokio_service;
extern crate unicase;
@@ -55,19 +53,6 @@ pub use version::HttpVersion;
#[cfg(feature = "raw_status")]
pub use proto::RawStatus;
macro_rules! feat_server_proto {
($($i:item)*) => ($(
#[cfg(feature = "server-proto")]
#[deprecated(
since="0.11.11",
note="All usage of the tokio-proto crate is going away."
)]
#[doc(hidden)]
#[allow(deprecated)]
$i
)*)
}
mod common;
#[cfg(test)]
mod mock;