[workspace]
members = [
    "model", 
    "fts/index", 
    "fts/serving-service", 
    "qdrant", 
    "ctl", 
    "cloud",
    "notice",
    "context",
]
resolver = "2"

[workspace.package]
version = "1.3.4"
edition = "2021"
description = "Qdrant on TiDB Serverless"

[workspace.dependencies]
async-trait = "0.1"
clap = { version = "4.5", features = ["derive", "env"] }
lazy_static = "1.5"
tokio = { version = "1.40.0", features = ["full"]}
anyhow = "1.0"
prettytable-rs = "0.10"
colored = "2.1"
serde_json = "1.0"
sqlx = { version = "0.7", features = ["runtime-tokio", "tls-native-tls", "mysql", "time", "chrono", "bigdecimal"] }
log = "0.4"
env_logger = "0.11"
tantivy = "0.22.0"
charabia = "0.9.7"
#charabia = {version = "0.9.3", default-features = false,features = ["chinese"] }
serde = { version = "1.0", features = ["derive"] }
reqwest = { version = "0.12", features = ["json", "multipart"] }
thiserror = "1.0"
regex = "1.10"
axum = { version = "0.7", features = ["multipart"] }
axum-server = { version = "0.6", features = ["tls-rustls"] }
tower = { version = "0.4", features = ["full"] }
tower-http = { version = "0.5", features = ["trace", "compression-br", "validate-request"] }
http-body = "1.0"
uuid = { version = "1.9", features = ["v4"] }
moka = { version = "0.12", features = ["sync"] }
http-body-util = "0.1"
sysinfo = "0.30"
bytesize = { version = "1.3", features = ["serde"] }
url = "2.5"
filetime = "0.2"
prometheus = { version = "0.13.4", features = ["nightly"] }
chrono = "0.4.39"

[profile.release]
lto = "fat"
