[package]
# [package]
name = "talos_certifier_adapters"
version = "0.3.15"
edition = "2021"
keywords = ["talos", "adapters"]
license = "MIT"
homepage = "https://github.com/kindredgroup/talos"
repository = "https://github.com/kindredgroup/talos"
readme = "README.md"
description = "Adapters used in Talos Certifier"

[dependencies]

# Json Serialize / Deserialize
serde = { workspace = true }
serde_json = { workspace = true }

# Logging
log = { workspace = true }
env_logger = { workspace = true }
tracing = { version = "0.1.41", features = ["log"] }
# Async
tokio = { workspace = true }
async-trait = { workspace = true }
# Futures
futures-util = "0.3.26"
# Kafka
rdkafka = { version = "0.34.0", features = ["sasl"] }

#  Ahash hashmap
ahash = "0.8.3"

# uuid
uuid = { version = "1.4.1", features = ["v4"] }
# postgres
# TODO:GK pinned to version that supports MSRV 1.75. When we move our rust version to 1.81 or higher, remove this transient dependency pinned.
postgres-protocol = { version = "=0.6.8" }
# TODO:GK pinned to version that supports MSRV 1.75. When we move our rust version to 1.81 or higher, we should relax this pin.
tokio-postgres = { version = "=0.7.13", features = [
    "with-uuid-1",
    "with-serde_json-1",
] }
deadpool-postgres = "0.11.0"
refinery = { version = "0.8.7", features = ["tokio-postgres"] }

time = { version = "0.3.30" }

# Error
thiserror = "1.0.31"

# Test
mockall = "0.11.0"

# internal crates
talos_metrics = { path = "../talos_metrics", version = "0.3.15" }
talos_certifier = { path = "../talos_certifier", version = "0.3.15" }
talos_suffix = { path = "../talos_suffix", version = "0.3.15" }
talos_common_utils = { path = "../talos_common_utils", version = "0.3.15" }
talos_rdkafka_utils = { path = "../talos_rdkafka_utils", version = "0.3.15" }


[dev-dependencies]
serial_test = "2.0.0"
