[package]
edition = "2024"
name = "defect-obs"
version = "0.1.0-alpha.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Observability layer for defect: session events and Langfuse trace ingestion."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/vast-enterprise/defect"
[lib]
name = "defect_obs"
path = "src/lib.rs"
[dependencies.agent-client-protocol-schema]
version = "=0.13.2"
features = ["tracing"]
[dependencies.anyhow]
version = "1"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1"
[dependencies.chrono]
version = "0.4"
features = [
"std",
"clock",
]
default-features = false
[dependencies.defect-agent]
version = "0.1.0-alpha.6"
[dependencies.defect-http]
version = "0.1.0-alpha.6"
[dependencies.futures]
version = "0.3"
[dependencies.http]
version = "1"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1"
[dependencies.toac]
version = "0"
features = ["sse"]
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"io-util",
"io-std",
"sync",
"fs",
"process",
"signal",
"time",
]
[dependencies.tower]
version = "0.5"
features = [
"util",
"timeout",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"json",
]
[dependencies.uuid]
version = "1"
features = ["v4"]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"io-util",
"io-std",
"sync",
"fs",
"process",
"signal",
"time",
"macros",
"rt",
"rt-multi-thread",
]
[lints.clippy]
too_many_arguments = "deny"