mirror of
https://github.com/serai-dex/serai.git
synced 2024-12-23 12:09:37 +00:00
b823413c9b
* Use redb and in Dockerfiles The motivation for redb was to remove the multiple rocksdb compile times from CI. * Correct feature flagging of coordinator and message-queue in Dockerfiles * Correct message-queue DB type alias * Use consistent table typing in redb * Correct rebase artifacts * Correct removal of binaries feature from message-queue * Correct processor feature flagging * Replace redb with parity-db It still has much better compile times yet doesn't block when creating multiple transactions. It also is actively maintained and doesn't grow our tree. The MPT aspects are irrelevant. * Correct stray Redb * clippy warning * Correct txn get
22 lines
637 B
TOML
22 lines
637 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"]
|
|
|
|
[dependencies]
|
|
parity-db = { version = "0.4", default-features = false, optional = true }
|
|
rocksdb = { version = "0.21", default-features = false, features = ["lz4"], optional = true }
|
|
|
|
[features]
|
|
parity-db = ["dep:parity-db"]
|
|
rocksdb = ["dep:rocksdb"]
|