We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c95f269 commit e3f13c1Copy full SHA for e3f13c1
src/client/connect.rs
@@ -24,7 +24,13 @@ use crate::{
24
};
25
26
#[pin_project(project = RespConnectionInnerProj)]
27
-#[expect(clippy::large_enum_variant, reason = "will only be enabled if selected, and isn't moved once built")]
+#[cfg_attr(
28
+ any(feature = "with-rustls", feature = "with-native-tls"),
29
+ expect(
30
+ clippy::large_enum_variant,
31
+ reason = "will only be enabled if selected, and isn't moved once built"
32
+ )
33
+)]
34
pub enum RespConnectionInner {
35
#[cfg(feature = "with-rustls")]
36
Tls {
0 commit comments