serai/common/db/Cargo.toml

26 lines
663 B
TOML
Raw Normal View History

[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"]
2023-07-13 23:09:11 +00:00
2023-12-17 01:54:24 +00:00
[lints]
workspace = true
2023-07-13 23:09:11 +00:00
[dependencies]
parity-db = { version = "0.4", default-features = false, optional = true }
rocksdb = { version = "0.22", default-features = false, features = ["lz4"], optional = true }
2023-07-13 23:09:11 +00:00
[features]
parity-db = ["dep:parity-db"]
2023-07-13 23:09:11 +00:00
rocksdb = ["dep:rocksdb"]