ccwire-oauth 0.1.1

A typed async client for the Claude account endpoints an OAuth login can call
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 = "2024"
rust-version = "1.85"
name = "ccwire-oauth"
version = "0.1.1"
authors = ["Ian Macalinao <github@igm.pub>"]
build = false
exclude = ["tests"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A typed async client for the Claude account endpoints an OAuth login can call"
documentation = "https://docs.rs/ccwire-oauth"
readme = "README.md"
keywords = [
    "claude",
    "oauth",
    "usage",
    "api-client",
]
categories = ["api-bindings"]
license = "Apache-2.0"
repository = "https://github.com/talaagent/ccwire"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

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

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

[dependencies.httpdate]
version = "1.0.3"

[dependencies.reqwest]
version = "0.13.5"
features = [
    "rustls",
    "http2",
    "charset",
]
default-features = false

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

[dependencies.serde_json]
version = "1.0.154"

[dependencies.thiserror]
version = "2.0.21"

[dependencies.tokio]
version = "1.54.1"
features = ["rt"]
default-features = false

[dependencies.url]
version = "2.5.8"

[dependencies.zeroize]
version = "1.9.1"

[dev-dependencies.tokio]
version = "1.54.1"
features = [
    "rt",
    "macros",
    "sync",
]
default-features = false

[dev-dependencies.wiremock]
version = "0.6.5"

[lints.clippy]
await_holding_lock = "deny"
clone_on_ref_ptr = "deny"
cognitive_complexity = "deny"
disallowed_methods = "deny"
disallowed_types = "deny"
large_futures = "allow"
must_use_candidate = "allow"
needless_pass_by_value = "allow"
std_instead_of_alloc = "deny"
std_instead_of_core = "deny"
struct_excessive_bools = "allow"
too_many_lines = "deny"
unnecessary_wraps = "allow"
unwrap_used = "deny"

[lints.clippy.complexity]
level = "deny"
priority = -1

[lints.clippy.pedantic]
level = "warn"
priority = -1