origin-auth 0.2.0

OAuth 2.0 authorization code flow with PKCE, token storage and refresh for Origin.
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.88"
name = "origin-auth"
version = "0.2.0"
authors = ["Jörn Seidel <joern.seidel@casoon.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "OAuth 2.0 authorization code flow with PKCE, token storage and refresh for Origin."
homepage = "https://casoon.dev"
readme = "README.md"
keywords = [
    "oauth2",
    "pkce",
    "authentication",
    "tauri",
]
categories = [
    "authentication",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/casoon/origin"

[features]
default = []
testing = []

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

[[test]]
name = "flow"
path = "tests/flow.rs"

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

[dependencies.base64]
version = "0.23"

[dependencies.getrandom]
version = "0.4"

[dependencies.origin-domain]
version = "0.2.0"

[dependencies.origin-http]
version = "0.2.0"

[dependencies.origin-platform]
version = "0.2.0"

[dependencies.origin-secrets]
version = "0.2.0"

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

[dependencies.serde_json]
version = "1.0.151"

[dependencies.sha2]
version = "0.11"

[dependencies.time]
version = "0.3.55"
features = [
    "serde-well-known",
    "macros",
]

[dependencies.tokio]
version = "1.53"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
]

[dependencies.tracing]
version = "0.1.44"

[dev-dependencies.origin-domain]
version = "0.2.0"
features = ["testing"]

[dev-dependencies.origin-http]
version = "0.2.0"
features = ["testing"]

[dev-dependencies.origin-platform]
version = "0.2.0"
features = ["testing"]

[dev-dependencies.tokio]
version = "1.53"
features = [
    "rt-multi-thread",
    "macros",
    "sync",
    "time",
    "rt-multi-thread",
    "macros",
]

[lints.clippy]
dbg_macro = "warn"
print_stdout = "warn"
todo = "warn"

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

[lints.rust]
missing_debug_implementations = "warn"
unreachable_pub = "warn"
unsafe_code = "forbid"