Fix missing lz4 and bz2; tweak feature projection. (closes #78)
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
@@ -22,6 +22,11 @@ brotli_compression = [
|
||||
"tuwunel-core/brotli_compression",
|
||||
"tuwunel-service/brotli_compression",
|
||||
]
|
||||
bzip2_compression = [
|
||||
"tuwunel-api/bzip2_compression",
|
||||
"tuwunel-database/bzip2_compression",
|
||||
"tuwunel-service/bzip2_compression",
|
||||
]
|
||||
gzip_compression = [
|
||||
"tuwunel-api/gzip_compression",
|
||||
"tuwunel-core/gzip_compression",
|
||||
@@ -56,6 +61,11 @@ jemalloc_stats = [
|
||||
"tuwunel-database/jemalloc_stats",
|
||||
"tuwunel-service/jemalloc_stats",
|
||||
]
|
||||
lz4_compression = [
|
||||
"tuwunel-api/lz4_compression",
|
||||
"tuwunel-database/lz4_compression",
|
||||
"tuwunel-service/lz4_compression",
|
||||
]
|
||||
release_max_log_level = [
|
||||
"tuwunel-api/release_max_log_level",
|
||||
"tuwunel-core/release_max_log_level",
|
||||
|
||||
@@ -22,6 +22,9 @@ brotli_compression = [
|
||||
"tuwunel-service/brotli_compression",
|
||||
"reqwest/brotli",
|
||||
]
|
||||
bzip2_compression = [
|
||||
"tuwunel-service/bzip2_compression",
|
||||
]
|
||||
element_hacks = [
|
||||
"tuwunel-service/element_hacks",
|
||||
]
|
||||
@@ -52,6 +55,9 @@ jemalloc_stats = [
|
||||
ldap = [
|
||||
"tuwunel-service/ldap",
|
||||
]
|
||||
lz4_compression = [
|
||||
"tuwunel-service/lz4_compression",
|
||||
]
|
||||
release_max_log_level = [
|
||||
"tuwunel-core/release_max_log_level",
|
||||
"tuwunel-service/release_max_log_level",
|
||||
|
||||
@@ -17,6 +17,9 @@ crate-type = [
|
||||
]
|
||||
|
||||
[features]
|
||||
bzip2_compression = [
|
||||
"rust-rocksdb/bzip2",
|
||||
]
|
||||
io_uring = [
|
||||
"rust-rocksdb/io-uring",
|
||||
]
|
||||
@@ -33,6 +36,9 @@ jemalloc_prof = [
|
||||
jemalloc_stats = [
|
||||
"tuwunel-core/jemalloc_stats",
|
||||
]
|
||||
lz4_compression = [
|
||||
"rust-rocksdb/lz4",
|
||||
]
|
||||
release_max_log_level = [
|
||||
"tuwunel-core/release_max_log_level",
|
||||
"log/max_level_trace",
|
||||
|
||||
@@ -70,11 +70,19 @@ blurhashing = [
|
||||
"tuwunel-service/blurhashing",
|
||||
]
|
||||
brotli_compression = [
|
||||
"tuwunel-admin/brotli_compression",
|
||||
"tuwunel-api/brotli_compression",
|
||||
"tuwunel-core/brotli_compression",
|
||||
"tuwunel-router/brotli_compression",
|
||||
"tuwunel-service/brotli_compression",
|
||||
]
|
||||
bzip2_compression = [
|
||||
"tuwunel-admin/bzip2_compression",
|
||||
"tuwunel-api/bzip2_compression",
|
||||
"tuwunel-database/bzip2_compression",
|
||||
"tuwunel-router/bzip2_compression",
|
||||
"tuwunel-service/bzip2_compression",
|
||||
]
|
||||
console = [
|
||||
"tuwunel-service/console",
|
||||
]
|
||||
@@ -86,6 +94,7 @@ element_hacks = [
|
||||
"tuwunel-service/element_hacks",
|
||||
]
|
||||
gzip_compression = [
|
||||
"tuwunel-admin/gzip_compression",
|
||||
"tuwunel-api/gzip_compression",
|
||||
"tuwunel-core/gzip_compression",
|
||||
"tuwunel-router/gzip_compression",
|
||||
@@ -95,11 +104,27 @@ hardened_malloc = [
|
||||
"tuwunel-core/hardened_malloc",
|
||||
]
|
||||
io_uring = [
|
||||
"tuwunel-admin/io_uring",
|
||||
"tuwunel-api/io_uring",
|
||||
"tuwunel-database/io_uring",
|
||||
"tuwunel-router/io_uring",
|
||||
"tuwunel-service/io_uring",
|
||||
]
|
||||
jemalloc = [
|
||||
"tuwunel-admin/jemalloc",
|
||||
"tuwunel-api/jemalloc",
|
||||
"tuwunel-core/jemalloc",
|
||||
"tuwunel-database/jemalloc",
|
||||
"tuwunel-router/jemalloc",
|
||||
"tuwunel-service/jemalloc",
|
||||
]
|
||||
jemalloc_conf = [
|
||||
"tuwunel-admin/jemalloc_conf",
|
||||
"tuwunel-api/jemalloc_conf",
|
||||
"tuwunel-core/jemalloc_conf",
|
||||
"tuwunel-database/jemalloc_conf",
|
||||
"tuwunel-router/jemalloc_conf",
|
||||
"tuwunel-service/jemalloc_conf",
|
||||
]
|
||||
jemalloc_prof = [
|
||||
"tuwunel-core/jemalloc_prof",
|
||||
@@ -107,13 +132,17 @@ jemalloc_prof = [
|
||||
jemalloc_stats = [
|
||||
"tuwunel-core/jemalloc_stats",
|
||||
]
|
||||
jemalloc_conf = [
|
||||
"tuwunel-core/jemalloc_conf",
|
||||
]
|
||||
ldap = [
|
||||
"tuwunel-api/ldap",
|
||||
"tuwunel-service/ldap",
|
||||
]
|
||||
lz4_compression = [
|
||||
"tuwunel-admin/lz4_compression",
|
||||
"tuwunel-api/lz4_compression",
|
||||
"tuwunel-database/lz4_compression",
|
||||
"tuwunel-router/lz4_compression",
|
||||
"tuwunel-service/lz4_compression",
|
||||
]
|
||||
media_thumbnail = [
|
||||
"tuwunel-service/media_thumbnail",
|
||||
]
|
||||
@@ -159,6 +188,7 @@ url_preview = [
|
||||
"tuwunel-service/url_preview",
|
||||
]
|
||||
zstd_compression = [
|
||||
"tuwunel-admin/zstd_compression",
|
||||
"tuwunel-api/zstd_compression",
|
||||
"tuwunel-core/zstd_compression",
|
||||
"tuwunel-database/zstd_compression",
|
||||
|
||||
@@ -24,6 +24,11 @@ brotli_compression = [
|
||||
"tuwunel-service/brotli_compression",
|
||||
"tower-http/compression-br",
|
||||
]
|
||||
bzip2_compression = [
|
||||
"tuwunel-admin/bzip2_compression",
|
||||
"tuwunel-api/bzip2_compression",
|
||||
"tuwunel-service/bzip2_compression",
|
||||
]
|
||||
direct_tls = [
|
||||
"axum-server/tls-rustls",
|
||||
"dep:rustls",
|
||||
@@ -40,7 +45,6 @@ io_uring = [
|
||||
"tuwunel-admin/io_uring",
|
||||
"tuwunel-api/io_uring",
|
||||
"tuwunel-service/io_uring",
|
||||
"tuwunel-api/io_uring",
|
||||
]
|
||||
jemalloc = [
|
||||
"tuwunel-admin/jemalloc",
|
||||
@@ -66,6 +70,11 @@ jemalloc_stats = [
|
||||
"tuwunel-core/jemalloc_stats",
|
||||
"tuwunel-service/jemalloc_stats",
|
||||
]
|
||||
lz4_compression = [
|
||||
"tuwunel-admin/lz4_compression",
|
||||
"tuwunel-api/lz4_compression",
|
||||
"tuwunel-service/lz4_compression",
|
||||
]
|
||||
release_max_log_level = [
|
||||
"tuwunel-admin/release_max_log_level",
|
||||
"tuwunel-api/release_max_log_level",
|
||||
|
||||
@@ -25,6 +25,9 @@ brotli_compression = [
|
||||
"tuwunel-core/brotli_compression",
|
||||
"reqwest/brotli",
|
||||
]
|
||||
bzip2_compression = [
|
||||
"tuwunel-database/bzip2_compression",
|
||||
]
|
||||
console = [
|
||||
"dep:rustyline-async",
|
||||
"dep:termimad",
|
||||
@@ -56,6 +59,9 @@ jemalloc_stats = [
|
||||
ldap = [
|
||||
"dep:ldap3",
|
||||
]
|
||||
lz4_compression = [
|
||||
"tuwunel-database/lz4_compression",
|
||||
]
|
||||
media_thumbnail = [
|
||||
"dep:image",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user