From 3ac497afef9d043d4cbff100be50e3e4457abcad Mon Sep 17 00:00:00 2001 From: Christopher Chong Date: Wed, 7 Feb 2024 17:58:27 +0800 Subject: [PATCH] Revert formatting of other crates. --- components/tls/tls-client/src/backend/standard.rs | 2 +- components/tls/tls-client/tests/api.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/components/tls/tls-client/src/backend/standard.rs b/components/tls/tls-client/src/backend/standard.rs index bfa843e1dc..afd6b7adb0 100644 --- a/components/tls/tls-client/src/backend/standard.rs +++ b/components/tls/tls-client/src/backend/standard.rs @@ -9,7 +9,7 @@ use p256::{ecdh::EphemeralSecret, EncodedPoint, PublicKey as ECDHPublicKey}; use rand::{rngs::OsRng, thread_rng, Rng}; use digest::Digest; -use std::{any::Any, collections::VecDeque, convert::TryInto}; +use std::{any::Any, convert::TryInto, collections::VecDeque}; use tls_core::{ cert::ServerCertDetails, ke::ServerKxDetails, diff --git a/components/tls/tls-client/tests/api.rs b/components/tls/tls-client/tests/api.rs index 6f1f0d0cf4..43dd64ae44 100644 --- a/components/tls/tls-client/tests/api.rs +++ b/components/tls/tls-client/tests/api.rs @@ -14,6 +14,8 @@ use std::{ }, }; + + #[cfg(feature = "quic")] use tls_client::quic::{self, ClientQuicExt, QuicExt, ServerQuicExt}; use tls_client::{