Skip to content

Commit ec40cec

Browse files
committed
Reduce configs even more
1 parent 8275713 commit ec40cec

1 file changed

Lines changed: 7 additions & 13 deletions

File tree

build.rs

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,24 @@ use cfg_aliases::cfg_aliases;
22

33
fn main() {
44
cfg_aliases! {
5-
// All remote cache backends
6-
any_cache_remote: {
5+
// HTTP-based remote cache backends (excludes memcached and redis)
6+
any_http_remote: {
77
any(
88
feature = "azure",
99
feature = "gcs",
1010
feature = "gha",
11-
feature = "memcached",
12-
feature = "redis",
1311
feature = "s3",
1412
feature = "webdav",
1513
feature = "oss",
1614
feature = "cos"
1715
)
1816
},
19-
// HTTP-based remote cache backends (excludes memcached and redis)
20-
any_http_remote: {
17+
// All remote cache backends
18+
any_cache_remote: {
2119
any(
22-
feature = "azure",
23-
feature = "gcs",
24-
feature = "gha",
25-
feature = "s3",
26-
feature = "webdav",
27-
feature = "oss",
28-
feature = "cos"
20+
any_http_remote,
21+
feature = "memcached",
22+
feature = "redis"
2923
)
3024
},
3125
// Distributed compilation features

0 commit comments

Comments
 (0)