You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
client::conn::Builder and client:conn:handshake are deprecated as they
are removed in 1.0.
tower_client is updated so it does not use the deprecated API.
Copy file name to clipboardExpand all lines: src/client/conn.rs
+13Lines changed: 13 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -123,12 +123,19 @@ pin_project! {
123
123
///
124
124
/// This is a shortcut for `Builder::new().handshake(io)`.
125
125
/// See [`client::conn`](crate::client::conn) for more.
126
+
#[cfg_attr(
127
+
feature = "deprecated",
128
+
deprecated(
129
+
note = "This function will be replaced with `client::conn::http1::handshake` and `client::conn::http2::handshake` in 1.0, enable the \"backports\" feature to use them now."
note = "This type will be replaced with `client::conn::http1::Builder` and `client::conn::http2::Builder` in 1.0, enable the \"backports\" feature to use them now."
0 commit comments