[package]
name = "lightningstor-node"
version.workspace = true
edition.workspace = true
license.workspace = true
rust-version.workspace = true
description = "LightningStor distributed storage node daemon"

[[bin]]
name = "lightningstor-node"
path = "src/main.rs"

[dependencies]
# Internal
lightningstor-types = { workspace = true }
lightningstor-storage = { workspace = true }

# gRPC
tonic = { workspace = true }
tonic-health = { workspace = true }
prost = { workspace = true }
prost-types = { workspace = true }

# Async runtime
tokio = { workspace = true }
tokio-stream = { workspace = true }
async-trait = { workspace = true }
futures = { workspace = true }

# Utilities
tracing = { workspace = true }
tracing-subscriber = { workspace = true }
thiserror = { workspace = true }
clap = { workspace = true }
serde = { workspace = true }
toml = { workspace = true }
dashmap = { workspace = true }
bytes = { workspace = true }
uuid = { workspace = true }
metrics = { workspace = true }
metrics-exporter-prometheus = { workspace = true }

[build-dependencies]
tonic-build = { workspace = true }
protoc-bin-vendored = "3"

[dev-dependencies]
tempfile = { workspace = true }

[lints]
workspace = true
