eliminate dep:rust-rocksdb et al from admin crate

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-06-12 01:13:19 +00:00
parent 01f4455ceb
commit fbcdb3860a
3 changed files with 1 additions and 19 deletions

1
Cargo.lock generated
View File

@ -610,7 +610,6 @@ dependencies = [
"loole", "loole",
"regex", "regex",
"ruma", "ruma",
"rust-rocksdb-uwu",
"serde", "serde",
"serde_json", "serde_json",
"serde_yaml", "serde_yaml",

View File

@ -24,18 +24,7 @@ release_max_log_level = [
"log/max_level_trace", "log/max_level_trace",
"log/release_max_level_info", "log/release_max_level_info",
] ]
rocksdb = [ rocksdb = []
"dep:rust-rocksdb",
]
jemalloc = [
"rust-rocksdb/jemalloc",
]
io_uring = [
"rust-rocksdb/io-uring",
]
zstd_compression = [
"rust-rocksdb/zstd",
]
[dependencies] [dependencies]
clap.workspace = true clap.workspace = true
@ -48,8 +37,6 @@ log.workspace = true
loole.workspace = true loole.workspace = true
regex.workspace = true regex.workspace = true
ruma.workspace = true ruma.workspace = true
rust-rocksdb.optional = true
rust-rocksdb.workspace = true
serde_json.workspace = true serde_json.workspace = true
serde.workspace = true serde.workspace = true
serde_yaml.workspace = true serde_yaml.workspace = true

View File

@ -82,11 +82,9 @@ hardened_malloc = [
"conduit-core/hardened_malloc", "conduit-core/hardened_malloc",
] ]
io_uring = [ io_uring = [
"conduit-admin/io_uring",
"conduit-database/io_uring", "conduit-database/io_uring",
] ]
jemalloc = [ jemalloc = [
"conduit-admin/jemalloc",
"conduit-core/jemalloc", "conduit-core/jemalloc",
"conduit-database/jemalloc", "conduit-database/jemalloc",
] ]
@ -117,7 +115,6 @@ release_max_log_level = [
"conduit-service/release_max_log_level", "conduit-service/release_max_log_level",
] ]
rocksdb = [ rocksdb = [
"conduit-admin/rocksdb",
"conduit-database/rocksdb", "conduit-database/rocksdb",
] ]
sentry_telemetry = [ sentry_telemetry = [
@ -136,7 +133,6 @@ tokio_console = [
"tokio/tracing", "tokio/tracing",
] ]
zstd_compression = [ zstd_compression = [
"conduit-admin/zstd_compression",
"conduit-core/zstd_compression", "conduit-core/zstd_compression",
"conduit-database/zstd_compression", "conduit-database/zstd_compression",
"conduit-router/zstd_compression", "conduit-router/zstd_compression",