[package]
edition = "2024"
name = "aether-llm"
version = "0.3.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-provider LLM abstraction layer for the Aether AI agent framework"
readme = "README.md"
keywords = [
"llm",
"ai",
"aether",
"openai",
"anthropic",
]
categories = [
"api-bindings",
"asynchronous",
]
license = "MIT"
repository = "https://github.com/contextbridge/aether"
[package.metadata.dist]
dist = false
[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
"--cfg",
"docsrs",
]
[features]
bedrock = [
"dep:aws-config",
"dep:aws-sdk-bedrockruntime",
"dep:aws-smithy-types",
"dep:base64",
]
codex = [
"oauth",
"dep:base64",
]
default = []
oauth = [
"dep:rmcp",
"dep:oauth2",
"dep:async-trait",
"dep:keyring-core",
"dep:apple-native-keyring-store",
"dep:windows-native-keyring-store",
"dep:dbus-secret-service-keyring-store",
"dep:url",
]
[lib]
name = "llm"
path = "src/lib.rs"
[[test]]
name = "providers"
path = "tests/providers.rs"
[dependencies.async-openai]
version = "^0.37.0"
features = [
"byot",
"chat-completion",
"responses",
]
[dependencies.async-stream]
version = "^0.3.6"
[dependencies.async-trait]
version = "0.1"
optional = true
[dependencies.aws-config]
version = "1.8.16"
features = ["behavior-version-latest"]
optional = true
[dependencies.aws-sdk-bedrockruntime]
version = "1.130.0"
optional = true
[dependencies.aws-smithy-types]
version = "1.4.7"
optional = true
[dependencies.base64]
version = "0.22"
optional = true
[dependencies.chrono]
version = "^0.4.44"
features = ["serde"]
[dependencies.eventsource-stream]
version = "^0.2"
[dependencies.futures]
version = "^0.3.32"
[dependencies.keyring-core]
version = "1.0.0"
optional = true
[dependencies.oauth2]
version = "5.0"
optional = true
[dependencies.reqwest]
version = "^0.13.3"
features = [
"json",
"query",
"rustls",
"http2",
"stream",
]
default-features = false
[dependencies.rmcp]
version = "^1.6.0"
features = [
"client",
"server",
"macros",
"schemars",
"auth",
"elicitation",
"transport-io",
]
optional = true
[dependencies.schemars]
version = "^1.2.1"
features = ["derive"]
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "^1.52.2"
features = ["full"]
[dependencies.tokio-stream]
version = "^0.1.18"
features = ["io-util"]
[dependencies.tokio-util]
version = "^0.7.18"
[dependencies.tracing]
version = "0.1.44"
[dependencies.url]
version = "2.5"
optional = true
[dependencies.utils]
version = "0.2.3"
package = "aether-utils"
[dependencies.uuid]
version = "1.23"
features = ["v4"]
[dev-dependencies.tempfile]
version = "3.27"
[build-dependencies.llm-codegen]
version = "0.2.5"
package = "aether-llm-codegen"
[target.'cfg(any(target_os = "linux", target_os = "freebsd"))'.dependencies.dbus-secret-service-keyring-store]
version = "1.0.0"
features = ["crypto-rust"]
optional = true
[target.'cfg(target_os = "macos")'.dependencies.apple-native-keyring-store]
version = "1.0.0"
features = ["keychain"]
optional = true
[target.'cfg(target_os = "windows")'.dependencies.windows-native-keyring-store]
version = "1.0.0"
optional = true
[lints.clippy]
absolute_paths = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
pub_underscore_fields = "allow"
return_self_not_must_use = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1