Skip to content

Commit 51296b3

Browse files
committed
Cleaned outdated #[cfg]
1 parent 1e0ab46 commit 51296b3

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

src/lib.rs

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,13 @@
99
not(cfg_auto_docs),
1010
any(
1111
all(
12-
feature = "tokio-rustls",
13-
any(
14-
feature = "tokio-native-tls",
15-
feature = "async-std-native-tls",
16-
feature = "async-std-rustls"
17-
)
12+
feature = "tokio",
13+
feature = "async-std"
1814
),
1915
all(
20-
feature = "tokio-native-tls",
21-
any(feature = "async-std-native-tls", feature = "async-std-rustls")
16+
feature = "native-tls",
17+
feature = "async-std-rustls"
2218
),
23-
all(feature = "async-std-native-tls", feature = "async-std-rustls")
2419
)
2520
))]
2621
compile_error!("Using multiple runtime / tls configurations at the same time is not allowed");

0 commit comments

Comments
 (0)