Skip to content

Commit

Permalink
Fix formatting of complex cfg() instances
Browse files Browse the repository at this point in the history
  • Loading branch information
dermesser committed Nov 11, 2024
1 parent 4ab9e0b commit 899f6a9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,13 @@ use hyper_util::client::legacy::{connect::Connect, Error as LegacyHyperError};
use rustls::crypto::aws_lc_rs::default_provider as default_crypto_provider;
#[cfg(all(feature = "ring", feature = "hyper-rustls"))]
use rustls::crypto::ring::default_provider as default_crypto_provider;
#[cfg(all(feature = "hyper-rustls", not(any(feature = "ring", feature = "aws-lc-rs"))))]
compile_error!("The `hyper-rustls` feature requires either the `ring` or `aws-lc-rs` feature to be enabled");
#[cfg(all(
feature = "hyper-rustls",
not(any(feature = "ring", feature = "aws-lc-rs"))
))]
compile_error!(
"The `hyper-rustls` feature requires either the `ring` or `aws-lc-rs` feature to be enabled"
);
use thiserror::Error as ThisError;

use crate::Error;
Expand Down

0 comments on commit 899f6a9

Please sign in to comment.