[package]
edition = "2021"
rust-version = "1.75"
name = "ai-lib-core"
version = "0.9.4"
authors = ["AI-Protocol Team"]
build = false
include = [
"Cargo.toml",
"../../README.md",
"../../README_CN.md",
"../../docs/ARCHITECTURE.md",
"../../CHANGELOG.md",
"../../LICENSE-APACHE",
"../../LICENSE-MIT",
"src/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI-Protocol execution runtime core (protocol, client, pipeline, transport)"
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/ailib-official/ai-lib-rust"
[features]
batch = []
computer_use = []
default = []
embeddings = []
full = [
"embeddings",
"mcp",
"computer_use",
"multimodal",
"reasoning",
"stt",
"tts",
"reranking",
]
mcp = []
multimodal = []
reasoning = []
reranking = []
stt = []
tts = []
[lib]
name = "ai_lib_core"
path = "src/lib.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.async-trait]
version = "0.1"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1.5"
[dependencies.once_cell]
version = "1.19"
[dependencies.regex]
version = "1.10"
[dependencies.schemars]
version = "0.8"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.10"
[dependencies.thiserror]
version = "1.0"
[dependencies.tracing]
version = "0.1"
features = ["std"]
default-features = false
[dependencies.url]
version = "2.5"
[dependencies.uuid]
version = "1.6"
features = ["v4"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.arc-swap]
version = "1.6"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.async-recursion]
version = "1.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.futures]
version = "0.3"
features = ["alloc"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.jsonschema]
version = "0.18"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.keyring]
version = "2.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.lru]
version = "0.12"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.notify]
version = "6.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.reqwest]
version = "0.11"
features = [
"json",
"stream",
"rustls-tls",
"blocking",
"multipart",
]
default-features = false
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1.0"
features = ["full"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio-util]
version = "0.7"
features = ["codec"]
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tracing-subscriber]
version = "0.3"
features = ["env-filter"]