[package]
name = "tikv-server"
version = "0.0.1"
license = "Apache-2.0"
edition = "2018"
publish = false

[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"]
testexport = ["tikv/testexport"]

[dependencies]
clap = "2.32"
cloud_server = { workspace = true }
serde_json = { 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 }
toml = { workspace = true }
workspace-hack = { version = "0.1", path = "../../workspace-hack" }

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