[package]
name = "tici_integration_tests"
version = "0.1.0"
edition = "2024"

[features]
default = [
    "failpoints",
    "testexport",
    "jemalloc",
    "mem-profiling",
    "openssl-vendored",
]
failpoints = ["tici/failpoints"]
testexport = ["tici/testexport"]
openssl-vendored = ["tici/openssl-vendored"]
external-jemalloc = ["tici/external-jemalloc"]
jemalloc = ["tici/jemalloc"]
mem-profiling = ["tici/mem-profiling"]
get_manifest_from_writer = ["tici/get_manifest_from_writer"]

[dependencies]
anyhow = { workspace = true }
arc-swap = { workspace = true }
async-trait = { workspace = true }
aws-sdk-s3 = { workspace = true }
backtrace = { workspace = true }
console-subscriber = { workspace = true }
either = "1.13"
fail = { workspace = true }
futures = { workspace = true }
heapsize = { workspace = true }
hex = { workspace = true }
hyper = { workspace = true }
libc = { workspace = true }
log = { workspace = true }
mysql_async = { workspace = true }
num_cpus = { workspace = true }
online_config = { workspace = true }
portable-atomic = { workspace = true }
prometheus = { workspace = true }
prometheus-static-metric = { workspace = true }
rand = { workspace = true }
reqwest = { version = "0.11", features = ["json", "blocking", "rustls-tls"] }
scopeguard = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
storage_backend = { workspace = true }
tici = { workspace = true }
tici-search-lib = { workspace = true }
tici_common = { workspace = true }
tici_grpc = { workspace = true }
tici_import = { workspace = true }
tici_service_discovery = { workspace = true }
tici_shard = { workspace = true }
tici_system = { workspace = true }
tici_test_utils = { workspace = true }
tidb_query_datatype = { workspace = true }
tipb = { workspace = true }
tokio = { workspace = true }
tonic = { workspace = true }
uuid = { workspace = true }

[target.'cfg(target_os = "linux")'.dependencies]
page_size = "0.4"
procfs = { version = "0.12", default-features = false }
procinfo = { git = "https://github.com/tikv/procinfo-rs", rev = "7693954bd1dd86eb1709572fd7b62fd5f7ff2ea1" }

[[test]]
name = "tici_integration_test"
path = "lib.rs"
required-features = ["failpoints", "testexport", "openssl-vendored"]
