[package]
edition = "2024"
rust-version = "1.91"
name = "yapi-agent"
version = "0.4.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Agent loop with tool execution, steering and follow-up queues, and events. An internal library of yapi, with no stable API."
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/SkymanOne/yapi"
[lib]
name = "yapi_agent"
path = "src/lib.rs"
[[test]]
name = "loop"
path = "tests/loop.rs"
[dependencies.futures-util]
version = "0.3"
features = ["alloc"]
default-features = false
[dependencies.serde_json]
version = "1"
features = [
"float_roundtrip",
"preserve_order",
]
[dependencies.tokio]
version = "1"
features = [
"macros",
"sync",
]
[dependencies.tokio-util]
version = "0.7.12"
[dependencies.yapi-ai]
version = "=0.4.2"
[dependencies.yapi-types]
version = "0.4.0"
[dev-dependencies.serde_json]
version = "1"
features = [
"float_roundtrip",
"preserve_order",
]
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
]
[lints.clippy]
dbg_macro = "warn"
print_stderr = "warn"
print_stdout = "warn"
unwrap_used = "warn"
[lints.rust]
missing_docs = "warn"