Skip to content

Commit

Permalink
add TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
longbowlu committed Jul 24, 2023
1 parent f1f151b commit b626bb6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/anemo/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -563,6 +563,10 @@ impl EndpointConfig {
&self.quinn_client_config
}

// TODO: remove #[allow(deprecated)] once we upgrade rustls
// to 0.21.4 or above, where `with_single_cert` is marked as
// deprecated. Before that happens, we use the attribute to
// keep clippy happy.
#[allow(deprecated)]
pub fn client_config_with_expected_server_identity(
&self,
Expand Down

0 comments on commit b626bb6

Please sign in to comment.