# 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"
name = "byokey-auth"
version = "0.4.0"
authors = ["AprilNEA <github@sku.moe>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bring Your Own Keys — AI subscription-to-API proxy gateway"
homepage = "https://github.com/AprilNEA/BYOKEY"
readme = false
license = "MIT OR Apache-2.0"
repository = "https://github.com/AprilNEA/BYOKEY"
resolver = "2"

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

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.base64]
version = "0.22"

[dependencies.byokey-config]
version = "0.4.0"

[dependencies.byokey-store]
version = "0.4.0"

[dependencies.byokey-types]
version = "0.4.0"
features = ["rquest"]

[dependencies.oauth2]
version = "5"

[dependencies.open]
version = "5"

[dependencies.rand]
version = "0.8"
features = ["std"]

[dependencies.rquest]
version = "5"
features = ["full"]

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.sha2]
version = "0.10"

[dependencies.thiserror]
version = "2"

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

[dependencies.tracing]
version = "0.1"

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

[lints.clippy]
pedantic = "warn"

[lints.rust]
unsafe_code = "forbid"
