1
0
Fork 0
mirror of https://github.com/romanz/electrs.git synced 2025-02-23 14:50:45 +01:00

Add snappy to RocksDB features

It would be useful to detect old DBs:
https://github.com/romanz/electrs/pull/477#discussion_r707600255

RocksDB compilation time increases 1m03s -> 1m07s (+6%).
Total electrs build time is 2m05s.
This commit is contained in:
Roman Zeyde 2021-09-14 21:32:28 +03:00 committed by Roman Zeyde
parent 89bca4900d
commit 3f41cdaa55

View file

@ -46,7 +46,9 @@ rev = "06ac9fa3e834413f7afeaed322cf8098d876e4a0"
git = "https://github.com/romanz/rust-rocksdb"
rev = "2023b18a7b83fc47b5bc950b5322a2284b771162"
default-features = false
features = ["zstd"]
# ZSTD is used for data compression
# Snappy is only for checking old DB
features = ["zstd", "snappy"]
[build-dependencies]
configure_me_codegen = "0.4"