[package]
edition = "2024"
name = "aether-auth"
version = "0.1.1"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OAuth credential storage and authorization flows for the Aether AI agent framework"
readme = "README.md"
license = "MIT"
repository = "https://github.com/contextbridge/aether"
[package.metadata.dist]
dist = false
[features]
default = []
keyring = [
"dep:keyring-core",
"dep:apple-native-keyring-store",
"dep:windows-native-keyring-store",
"dep:dbus-secret-service-keyring-store",
]
mcp = [
"dep:rmcp",
"dep:url",
]
[lib]
name = "aether_auth"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.futures]
version = "^0.3.32"
[dependencies.keyring-core]
version = "1.0.0"
optional = true
[dependencies.oauth2]
version = "5.0"
[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.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.149"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "^1.52.3"
features = ["full"]
[dependencies.tracing]
version = "0.1.44"
[dependencies.url]
version = "2.5"
optional = true
[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