fastauth-plugin-jwt 0.7.0

JWTs for fastauth: a /token endpoint, a JWKS with rotating keys encrypted at rest, and a verifier for resource servers, wire-compatible with Better Auth.
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.94"
name = "fastauth-plugin-jwt"
version = "0.7.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JWTs for fastauth: a /token endpoint, a JWKS with rotating keys encrypted at rest, and a verifier for resource servers, wire-compatible with Better Auth."
readme = "README.md"
keywords = [
    "auth",
    "authentication",
    "axum",
    "sqlx",
    "session",
]
categories = [
    "authentication",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/lassejlv/fastauth"

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

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

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

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

[dependencies.aws-lc-rs]
version = "1.19.0"

[dependencies.fastauth-core]
version = "0.7.0"
features = ["macros"]

[dependencies.http]
version = "1.5.0"

[dependencies.jsonwebtoken]
version = "12.0.0"
features = [
    "aws_lc_rs",
    "use_pem",
]
default-features = false

[dependencies.pem]
version = "4"

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

[dependencies.serde_json]
version = "1.0.154"

[dependencies.time]
version = "0.3.45"
features = ["serde"]

[dev-dependencies.axum]
version = "0.8.9"

[dev-dependencies.bytes]
version = "1.12.2"

[dev-dependencies.fastauth-axum]
version = "0.7.0"

[dev-dependencies.fastauth-plugin-bearer]
version = "0.7.0"

[dev-dependencies.fastauth-sqlx]
version = "0.7.0"
features = [
    "sqlite",
    "postgres",
    "mysql",
]
default-features = false

[dev-dependencies.sqlx]
version = "0.9.1"
features = ["mysql-rsa"]
default-features = false

[dev-dependencies.tokio]
version = "1.54.1"
features = [
    "macros",
    "net",
    "rt-multi-thread",
]

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

[lints.rust]
missing_debug_implementations = "allow"
unsafe_code = "forbid"