forked from arlyon/async-stripe
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.rs
23 lines (23 loc) · 758 Bytes
/
build.rs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
fn main() {
#[cfg(not(any(
feature = "runtime-tokio-hyper",
feature = "runtime-tokio-hyper-rustls",
feature = "runtime-tokio-hyper-rustls-webpki",
feature = "runtime-blocking",
feature = "runtime-blocking-rustls",
feature = "runtime-blocking-rustls-webpki",
feature = "runtime-async-std-surf",
)))]
compile_error!(
r"one of the following runtime features must be enabled:
[
'runtime-tokio-hyper',
'runtime-tokio-hyper-rustls',
'runtime-tokio-hyper-rustls-webpki',
'runtime-blocking',
'runtime-blocking-rustls',
'runtime-blocking-rustls-webpki',
'runtime-async-std-surf'
]"
);
}