mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 20:19:24 +00:00
6d5851a9ee
zstd was recommended for the base layer only, due to its CPU requirements. That was a misreading on mhy behalf. lz4 gets ~5% better compression than snappy with ~30% faster performance. zstd does ~25% better than lz4 yet at ~30% of the performance.
19 lines
510 B
TOML
19 lines
510 B
TOML
[package]
|
|
name = "serai-db"
|
|
version = "0.1.0"
|
|
description = "A simple database trait and backends for it"
|
|
license = "MIT"
|
|
repository = "https://github.com/serai-dex/serai/tree/develop/common/db"
|
|
authors = ["Luke Parker <lukeparker5132@gmail.com>"]
|
|
keywords = []
|
|
edition = "2021"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[dependencies]
|
|
rocksdb = { version = "0.21", default-features = false, features = ["lz4"], optional = true }
|
|
|
|
[features]
|
|
rocksdb = ["dep:rocksdb"]
|