use zaidoon1's fork of rust-rocksdb

https://github.com/zaidoon1/rust-rocksdb

https://github.com/rust-rocksdb/rust-rocksdb/issues/855#issuecomment-1937412844

shame that this has resulted in yet another fork of software, but oh well...

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-02-11 11:49:31 -05:00 committed by June
parent 244c1f7190
commit bb1edc3f1a
2 changed files with 40 additions and 53 deletions

View file

@ -83,8 +83,6 @@ threadpool = "1.8.1"
# Used for ruma wrapper
serde_html_form = "0.2.3"
rocksdb = { version = "0.21.0", default-features = true, features = ["multi-threaded-cf", "zstd"], optional = true }
thread_local = "1.1.7"
# used for TURN server authentication
hmac = "0.12.1"
@ -108,13 +106,21 @@ sd-notify = { version = "0.4.1", optional = true }
webpage = { version = "2.0", default-features = false }
[dependencies.rust-rocksdb]
git = "https://github.com/zaidoon1/rust-rocksdb"
rev = "8fdd559b590bd12cb506f9818bef484d51cac5e1"
default-features = false
features = ["multi-threaded-cf", "zstd", "snappy", "lz4"]
optional = true
[target.'cfg(unix)'.dependencies]
nix = { version = "0.27.1", features = ["resource"] }
[features]
default = ["conduit_bin", "backend_rocksdb", "systemd", "zstd_compression"]
backend_sqlite = ["sqlite"]
backend_rocksdb = ["rocksdb"]
backend_rocksdb = ["rust-rocksdb"]
jemalloc = ["tikv-jemalloc-ctl", "tikv-jemallocator"]
sqlite = ["rusqlite", "parking_lot", "tokio/signal"]
conduit_bin = ["axum"]
@ -124,7 +130,7 @@ zstd_compression = []
#brotli_compression = ["tower-http/compression-br"]
#compression = ["tower-http/compression-full"]
sha256_media = []
io_uring = ["rocksdb/io-uring"]
io_uring = ["rust-rocksdb/io-uring"]
[[bin]]
name = "conduit"