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:
@@ -37,16 +37,6 @@ use self::hyper_service::HyperService;
|
||||
pub use proto::response::Response;
|
||||
pub use proto::request::Request;
|
||||
|
||||
feat_server_proto! {
|
||||
mod server_proto;
|
||||
pub use self::server_proto::{
|
||||
__ProtoRequest,
|
||||
__ProtoResponse,
|
||||
__ProtoTransport,
|
||||
__ProtoBindTransport,
|
||||
};
|
||||
}
|
||||
|
||||
pub use self::conn::Connection;
|
||||
pub use self::service::{const_service, service_fn};
|
||||
|
||||
@@ -349,12 +339,6 @@ impl<S, B> Server<S, B>
|
||||
self
|
||||
}
|
||||
|
||||
#[doc(hidden)]
|
||||
#[deprecated(since="0.11.11", note="no_proto is always enabled")]
|
||||
pub fn no_proto(&mut self) -> &mut Self {
|
||||
self
|
||||
}
|
||||
|
||||
/// Execute this server infinitely.
|
||||
///
|
||||
/// This method does not currently return, but it will return an error if
|
||||
|
||||
Reference in New Issue
Block a user