[package]
name = "chainfire-storage"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "RocksDB storage layer for Chainfire distributed KVS"

[dependencies]
chainfire-types = { workspace = true }

# Storage
rocksdb = { workspace = true }

# Async
tokio = { workspace = true }
async-trait = { workspace = true }

# Serialization
serde = { workspace = true }
bincode = { workspace = true }

# Utilities
tracing = { workspace = true }
parking_lot = { workspace = true }
bytes = { workspace = true }
dashmap = { workspace = true }

[dev-dependencies]
tempfile = { workspace = true }
tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
criterion = { workspace = true }

[[bench]]
name = "storage_bench"
harness = false

[lints]
workspace = true
