ai-lib-rust 0.6.0

Protocol Runtime for AI-Protocol - A high-performance Rust reference implementation
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 = "2021"
rust-version = "1.75"
name = "ai-lib-rust"
version = "0.6.0"
authors = ["AI-Protocol Team"]
build = false
include = [
    "Cargo.toml",
    "README.md",
    "README_CN.md",
    "docs/ARCHITECTURE.md",
    "CHANGELOG.md",
    "LICENSE-APACHE",
    "LICENSE-MIT",
    "src/**",
    "examples/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Protocol Runtime for AI-Protocol - A high-performance Rust reference implementation"
readme = "README.md"
keywords = [
    "ai",
    "unified",
    "api",
    "llm",
    "multi-provider",
]
categories = [
    "api-bindings",
    "network-programming",
    "asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hiddenpath/ai-lib-rust"

[features]
default = []
interceptors = []
routing_mvp = []

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

[[bin]]
name = "validate_protocols"
path = "src/bin/validate_protocols.rs"

[[example]]
name = "advanced_pipeline"
path = "examples/advanced_pipeline.rs"

[[example]]
name = "basic_usage"
path = "examples/basic_usage.rs"

[[example]]
name = "custom_protocol"
path = "examples/custom_protocol.rs"

[[example]]
name = "deepseek_chat_stream"
path = "examples/deepseek_chat_stream.rs"

[[example]]
name = "deepseek_tool_call_stream"
path = "examples/deepseek_tool_call_stream.rs"

[[example]]
name = "interceptors"
path = "examples/interceptors.rs"

[[example]]
name = "list_models"
path = "examples/list_models.rs"

[[example]]
name = "multimodal_dry_run"
path = "examples/multimodal_dry_run.rs"

[[example]]
name = "routing_mvp"
path = "examples/routing_mvp.rs"

[[example]]
name = "service_discovery"
path = "examples/service_discovery.rs"

[[example]]
name = "test_protocol_loading"
path = "examples/test_protocol_loading.rs"

[dependencies.anyhow]
version = "1.0"

[dependencies.arc-swap]
version = "1.6"

[dependencies.async-recursion]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.bytes]
version = "1.5"

[dependencies.futures]
version = "0.3"
features = ["alloc"]

[dependencies.jsonschema]
version = "0.18"

[dependencies.keyring]
version = "2.0"

[dependencies.lru]
version = "0.12"

[dependencies.notify]
version = "6.1"

[dependencies.reqwest]
version = "0.11"
features = [
    "json",
    "stream",
    "rustls-tls",
    "blocking",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "1.0"

[dependencies.tokio]
version = "1.0"
features = ["full"]

[dependencies.tokio-util]
version = "0.7"
features = ["codec"]

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]

[dependencies.url]
version = "2.5"

[dependencies.uuid]
version = "1.6"
features = ["v4"]

[dev-dependencies.mockito]
version = "1.2"

[dev-dependencies.tokio-stream]
version = "0.1"

[dev-dependencies.tokio-test]
version = "0.4"