[package]
edition = "2024"
name = "defect-core"
version = "0.1.0-alpha.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Foundational shared types for defect: error, LLM protocol types, HTTP client trait, and tool schema. Zero dependency on the agent runtime, so provider/transport crates (defect-llm, defect-http) can depend on it without pulling in the session/turn machinery."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/vast-enterprise/defect"
[lib]
name = "defect_core"
path = "src/lib.rs"
[dependencies.futures]
version = "0.3"
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio-util]
version = "0.7"
default-features = false
[lints.clippy]
too_many_arguments = "deny"