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:
15
src/lib.rs
15
src/lib.rs
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user