[package]
name = "tikv-worker"
version = "0.1.0"
edition = "2018"

[features]
default = ["cloud-aws", "cloud-gcp", "cloud-azure"]
tcmalloc = ["tikv/tcmalloc"]
jemalloc = ["tikv/jemalloc"]
mimalloc = ["tikv/mimalloc"]
portable = ["tikv/portable"]
sse = ["tikv/sse"]
mem-profiling = ["tikv/mem-profiling"]
failpoints = ["tikv/failpoints"]
cloud-aws = ["tikv/cloud-aws"]
cloud-gcp = ["tikv/cloud-gcp"]
cloud-azure = ["tikv/cloud-azure"]

[dependencies]
chrono = { workspace = true }
clap = "2.32"
cloud_worker = { workspace = true }
grpcio = { workspace = true }
lazy_static = { workspace = true }
pd_client = { workspace = true }
prometheus = { workspace = true }
security = { workspace = true }
serde_json = { workspace = true }
slog = { workspace = true }
slog-global = { workspace = true }
slog-term = { workspace = true }
# TiKV default features include "jemalloc" and many others, we prefer disable
# them here and enable these features explicitly.
tikv = { workspace = true, default-features = false }
tikv_util = { workspace = true }
toml = { workspace = true }
workspace-hack = { version = "0.1", path = "../../workspace-hack" }

[build-dependencies]
chrono = { workspace = true }
