[package]
name = "stemedb-rpc"
version = "0.1.0"
edition = "2021"
description = "gRPC layer for StemeDB node-to-node replication"

# Inherit workspace lints
[lints]
workspace = true

[dependencies]
# Core types
stemedb-core = { path = "../stemedb-core" }

# gRPC
tonic = "0.12"
prost = "0.13"

# Async runtime
tokio = { version = "1", features = ["full"] }

# Error handling
thiserror = "1.0"

# Retry with exponential backoff
backoff = { version = "0.4", features = ["tokio"] }

# Logging
tracing = "0.1"

# Utilities
bytes = "1.5"
hex = "0.4"
async-trait = "0.1"

[build-dependencies]
tonic-build = "0.12"

[dev-dependencies]
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
