yapi-core 0.4.0

Coding agent core: sessions, compaction, settings, resources, built-in tools, system prompt, packages, extension runner and MCP. An internal library of yapi, with no stable API.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.91"
name = "yapi-core"
version = "0.4.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Coding agent core: sessions, compaction, settings, resources, built-in tools, system prompt, packages, extension runner and MCP. An internal library of yapi, with no stable API."
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/SkymanOne/yapi"

[lib]
name = "yapi_core"
path = "src/lib.rs"

[[test]]
name = "agent_session"
path = "tests/agent_session.rs"

[[test]]
name = "chest"
path = "tests/chest.rs"

[[test]]
name = "docs"
path = "tests/docs.rs"

[[test]]
name = "mcp"
path = "tests/mcp.rs"

[[test]]
name = "packages"
path = "tests/packages.rs"

[[test]]
name = "resolve"
path = "tests/resolve.rs"

[[test]]
name = "session"
path = "tests/session.rs"

[[test]]
name = "tools"
path = "tests/tools.rs"

[dependencies.aws-lc-rs]
version = "1.18"
features = [
    "aws-lc-sys",
    "prebuilt-nasm",
]
default-features = false

[dependencies.base64]
version = "0.23"

[dependencies.flate2]
version = "1"

[dependencies.futures-util]
version = "0.3"
features = ["alloc"]
default-features = false

[dependencies.image]
version = "0.24.9"
features = [
    "bmp",
    "dds",
    "farbfeld",
    "gif",
    "hdr",
    "ico",
    "jpeg",
    "png",
    "pnm",
    "tiff",
    "webp",
]
default-features = false

[dependencies.indexmap]
version = "2"
features = ["serde"]

[dependencies.regex-lite]
version = "0.1"

[dependencies.reqwest]
version = "0.13"
features = [
    "http2",
    "rustls",
]
default-features = false

[dependencies.semver]
version = "1"

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"
features = [
    "float_roundtrip",
    "preserve_order",
]

[dependencies.similar]
version = "2"

[dependencies.tar]
version = "0.4"
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "fs",
    "io-util",
    "macros",
    "process",
    "rt",
    "sync",
    "time",
]

[dependencies.tokio-util]
version = "0.7.12"

[dependencies.toml_edit]
version = "0.25.17"
features = [
    "display",
    "parse",
    "serde",
]
default-features = false

[dependencies.tz-rs]
version = "0.7"
features = ["std"]
default-features = false

[dependencies.unicode-normalization]
version = "0.1"

[dependencies.url]
version = "2.5"

[dependencies.wasmparser]
version = "=0.258.3"
features = [
    "component-model",
    "std",
]
default-features = false

[dependencies.yaml-rust2]
version = "0.13"
default-features = false

[dependencies.yapi-agent]
version = "=0.4.0"

[dependencies.yapi-ai]
version = "=0.4.0"

[dependencies.yapi-types]
version = "0.4.0"

[dev-dependencies.tokio]
version = "1"
features = [
    "macros",
    "rt-multi-thread",
    "test-util",
]

[target."cfg(unix)".dependencies.rustix]
version = "1"
features = [
    "process",
    "system",
]

[lints.clippy]
dbg_macro = "warn"
print_stderr = "warn"
print_stdout = "warn"
unwrap_used = "warn"

[lints.rust]
missing_docs = "warn"