Stop using default features for rocksdb

We only need zstd and snappy
This commit is contained in:
Rohan Kumar 2023-10-21 21:05:10 -07:00
parent 58a83f06b1
commit d08beada62
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 1 additions and 12 deletions

11
Cargo.lock generated
View file

@ -1342,7 +1342,6 @@ dependencies = [
"glob", "glob",
"libc", "libc",
"libz-sys", "libz-sys",
"lz4-sys",
"pkg-config", "pkg-config",
"zstd-sys", "zstd-sys",
] ]
@ -1411,16 +1410,6 @@ dependencies = [
"linked-hash-map", "linked-hash-map",
] ]
[[package]]
name = "lz4-sys"
version = "1.9.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "57d27b317e207b10f69f5e75494119e391a96f48861ae870d1da6edac98ca900"
dependencies = [
"cc",
"libc",
]
[[package]] [[package]]
name = "maplit" name = "maplit"
version = "1.0.2" version = "1.0.2"

View file

@ -88,7 +88,7 @@ heed = { git = "https://github.com/timokoesters/heed.git", rev = "f6f825da7fb2c7
# Used for ruma wrapper # Used for ruma wrapper
serde_html_form = "0.2.0" serde_html_form = "0.2.0"
rocksdb = { git = "https://github.com/rust-rocksdb/rust-rocksdb", rev = "bbb3fad23a3e41ead0fbf25c39d7300a14b2be7b", default-features = true, features = ["multi-threaded-cf", "zstd", "io-uring"], optional = true } rocksdb = { git = "https://github.com/rust-rocksdb/rust-rocksdb", rev = "bbb3fad23a3e41ead0fbf25c39d7300a14b2be7b", default-features = false, features = ["multi-threaded-cf", "snappy", "zstd", "io-uring"], optional = true }
thread_local = "1.1.7" thread_local = "1.1.7"
# used for TURN server authentication # used for TURN server authentication