anthropic-auth 0.1.1

Anthropic/Claude OAuth 2.0 authentication with PKCE - sync and async APIs
Documentation
[dependencies.axum]
optional = true
version = "0.8"

[dependencies.base64]
version = "0.22"

[dependencies.oauth2]
default-features = false
version = "5.0"

[dependencies.rand]
version = "0.8"

[dependencies.reqwest]
default-features = false
features = ["json"]
version = "0.12"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
features = ["macros", "rt-multi-thread", "net"]
optional = true
version = "1"

[dependencies.tower]
optional = true
version = "0.5"

[dependencies.url]
version = "2"

[dependencies.webbrowser]
optional = true
version = "1.0"

[dev-dependencies.anyhow]
version = "1"

[dev-dependencies.keyring]
version = "3.6"

[dev-dependencies.tokio]
features = ["full"]
version = "1"

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

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

[features]
async = []
blocking = ["reqwest/blocking"]
browser = ["webbrowser"]
callback-server = ["async", "axum", "tower", "tokio"]
default = ["blocking", "browser", "rustls-tls"]
full = ["blocking", "async", "browser", "callback-server", "rustls-tls"]
native-tls = ["reqwest/native-tls"]
rustls-tls = ["reqwest/rustls-tls"]

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

[package]
authors = ["Viktor Gal <viktor@query.mt>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["authentication", "api-bindings"]
description = "Anthropic/Claude OAuth 2.0 authentication with PKCE - sync and async APIs"
edition = "2021"
keywords = ["anthropic", "oauth", "authentication", "claude", "pkce"]
license = "MIT"
name = "anthropic-auth"
readme = "README.md"
repository = "https://github.com/querymt/anthropic-auth"
rust-version = "1.70"
version = "0.1.1"