[package]
name = "cmd"
version.workspace = true
edition.workspace = true
license.workspace = true
default-run = "greptime"

[[bin]]
name = "greptime"
path = "src/bin/greptime.rs"

[features]
tokio-console = ["common-telemetry/tokio-console"]

[dependencies]
anymap = "1.0.0-beta.2"
async-trait.workspace = true
auth.workspace = true
catalog.workspace = true
chrono.workspace = true
clap = { version = "4.4", features = ["derive"] }
client.workspace = true
common-base.workspace = true
common-catalog.workspace = true
common-config.workspace = true
common-error.workspace = true
common-macro.workspace = true
common-meta.workspace = true
common-procedure.workspace = true
common-query.workspace = true
common-recordbatch.workspace = true
common-telemetry = { workspace = true, features = [
    "deadlock_detection",
] }
config = "0.13"
datanode.workspace = true
datatypes.workspace = true
either = "1.8"
etcd-client.workspace = true
file-engine.workspace = true
frontend.workspace = true
futures.workspace = true
lazy_static.workspace = true
meta-client.workspace = true
meta-srv.workspace = true
mito2.workspace = true
nu-ansi-term = "0.46"
partition.workspace = true
plugins.workspace = true
prometheus.workspace = true
prost.workspace = true
query.workspace = true
rand.workspace = true
regex.workspace = true
rustyline = "10.1"
serde.workspace = true
serde_json.workspace = true
servers.workspace = true
session.workspace = true
snafu.workspace = true
substrait.workspace = true
table.workspace = true
tokio.workspace = true
toml.workspace = true

[target.'cfg(not(windows))'.dependencies]
tikv-jemallocator = "0.5"

[dev-dependencies]
common-test-util.workspace = true
serde.workspace = true
temp-env = "0.3"

[target.'cfg(not(windows))'.dev-dependencies]
rexpect = "0.5"

[build-dependencies]
common-version.workspace = true
