mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 03:59:22 +00:00
97f433c694
Adds a patch to the latest rocksdb.
25 lines
664 B
TOML
25 lines
664 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"
|
|
rust-version = "1.65"
|
|
|
|
[package.metadata.docs.rs]
|
|
all-features = true
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[dependencies]
|
|
parity-db = { version = "0.4", default-features = false, optional = true }
|
|
rocksdb = { version = "0.21", default-features = false, features = ["zstd"], optional = true }
|
|
|
|
[features]
|
|
parity-db = ["dep:parity-db"]
|
|
rocksdb = ["dep:rocksdb"]
|