yapi-ai 0.4.2

LLM wire APIs, model catalog and registry, cost tracking, credentials and OAuth. 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-ai"
version = "0.4.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "LLM wire APIs, model catalog and registry, cost tracking, credentials and OAuth. 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_ai"
path = "src/lib.rs"

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.23"

[dependencies.crc32fast]
version = "1"

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

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

[dependencies.percent-encoding]
version = "2.3"

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

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

[dependencies.ruzstd]
version = "0.9.1"
features = ["std"]
default-features = false

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

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

[dependencies.thiserror]
version = "2"

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

[dependencies.tokio-tungstenite]
version = "0.30"
features = ["handshake"]
default-features = false

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

[dependencies.url]
version = "2.5"

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

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

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

[lints.rust]
missing_docs = "warn"