s/rocksdb/rust_rocksdb, fix copy paste errors

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-03-09 16:59:28 -05:00 committed by June
parent d84378db18
commit fee6cad778
7 changed files with 95 additions and 144 deletions

View file

@ -163,7 +163,7 @@ optional = true
version = "0.2.0"
optional = true
[dependencies.tracing-opentelemetry]
version = "0.20.0"
version = "0.22.0"
optional = true
[dependencies.opentelemetry_sdk]
version = "0.21.2"
@ -178,12 +178,10 @@ features = ["rt-tokio"]
[dependencies.tikv-jemallocator]
version = "0.5.4"
optional = true
default-features = false
features = ["unprefixed_malloc_on_supported_platforms"]
[dependencies.tikv-jemalloc-ctl]
version = "0.5.4"
optional = true
default-features = false
features = ["use_std"]
# for URL previews
@ -256,6 +254,7 @@ git = "https://github.com/zaidoon1/rust-rocksdb"
#branch = "master"
rev = "3e4a0f632a8c0c2839c7d183725c53895110d907"
optional = true
default-features = true
features = [
"multi-threaded-cf",
"zstd",
@ -285,7 +284,8 @@ optional = true
[target.'cfg(not(unix))'.dependencies]
tokio = { version = "1.36.0", features = ["fs",
tokio = { version = "1.36.0", features = [
"fs",
"macros",
"sync",
] } # tokio signals are not used on non-*nix platforms
@ -300,21 +300,18 @@ tokio = { version = "1.36.0", features = [
"sync",
"signal",
] }
# unix socket support
[dependencies.hyperlocal]
git = "https://github.com/softprops/hyperlocal"
rev = "2ee4d149644600d326559af0d2b235c945b05c04"
features = ["server"]
hyperlocal = { git = "https://github.com/softprops/hyperlocal", rev = "2ee4d149644600d326559af0d2b235c945b05c04", features = ["server"] } # unix socket support
[features]
default = ["conduit_bin", "backend_rocksdb", "systemd"]
conduit_bin = ["axum"]
backend_sqlite = ["sqlite"]
backend_rocksdb = ["rust-rocksdb", "num_cpus"]
backend_rocksdb = ["rocksdb"]
rocksdb = ["rust-rocksdb", "num_cpus"]
jemalloc = ["tikv-jemalloc-ctl", "tikv-jemallocator"]
sqlite = ["rusqlite", "parking_lot", "thread_local", "num_cpus"]
conduit_bin = ["axum"]
systemd = ["sd-notify"]
#gzip_compression = ["tower-http/compression-gzip"]