[workspace]
members = [
  "crates/api/pd-proto-tso",
  "crates/api/pd-proto-grpc",
  "crates/test-util",
  "crates/services/pd-service-tso",
  "crates/bins/pd-tso",
  "testing/pd-compat-tests",
  "testing/pd-integration-tests",
  "testing/pd-chaos-tests",
]
resolver = "2"

[workspace.package]
edition = "2024"
license = "Apache-2.0"

[workspace.dependencies]
anyhow = "1"
criterion = "0.5"
etcd-client = { version = "0.15", features = ["tls"] }
futures = "0.3"
once_cell = "1"
pd-test-util = { path = "crates/test-util" }
prometheus = "0.13"
prost = "0.13"
prost-types = "0.13"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time", "net"] }
tokio-stream = "0.1"
tonic = { version = "0.12", features = ["transport"] }
tonic-build = "0.12"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt", "json"] }

[workspace.lints.clippy]
all = "warn"
pedantic = "warn"
