[package] name = "capture" version = "0.1.0" edition = "2021" [lints] workspace = true [dependencies] anyhow = { workspace = true } async-trait = { workspace = true } axum = { workspace = true } axum-client-ip = { workspace = true } base64 = { workspace = true } bytes = { workspace = true } envconfig = { workspace = true } flate2 = { workspace = true } governor = { workspace = true } health = { path = "../common/health" } common-alloc = { path = "../common/alloc" } common-types = { path = "../common/types" } metrics = { workspace = true } metrics-exporter-prometheus = { workspace = true } opentelemetry = { workspace = true } opentelemetry-otlp = { workspace = true } opentelemetry_sdk = { workspace = true } rand = { workspace = true } rdkafka = { workspace = true } redis = { version = "0.23.3", features = [ "tokio-comp", "cluster", "cluster-async", ] } serde = { workspace = true } serde_json = { workspace = true } serde_urlencoded = { workspace = true } thiserror = { workspace = true } time = { workspace = true } tokio = { workspace = true } tower-http = { workspace = true } tower = { workspace = true } tracing = { workspace = true } tracing-opentelemetry = { workspace = true } tracing-subscriber = { workspace = true } uuid = { workspace = true } [dev-dependencies] assert-json-diff = { workspace = true } axum-test-helper = { git = "https://github.com/posthog/axum-test-helper.git" } # TODO: remove, directly use reqwest like capture-server tests anyhow = { workspace = true } futures = { workspace = true } once_cell = { workspace = true } rand = { workspace = true } rdkafka = { workspace = true } reqwest = { workspace = true } serde_json = { workspace = true }