Files
serai/common/db/Cargo.toml

26 lines
684 B
TOML
Raw Normal View History

[package]
name = "serai-db"
version = "0.1.1"
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.77"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
2023-07-13 19:09:11 -04:00
2023-12-16 20:54:24 -05:00
[lints]
workspace = true
2023-07-13 19:09:11 -04:00
[dependencies]
parity-db = { version = "0.5", default-features = false, features = ["arc"], optional = true }
2025-08-25 09:17:29 -04:00
rocksdb = { version = "0.24", default-features = false, features = ["zstd"], optional = true }
2023-07-13 19:09:11 -04:00
[features]
parity-db = ["dep:parity-db"]
2023-07-13 19:09:11 -04:00
rocksdb = ["dep:rocksdb"]