tokenkit 1.0.1

Type-safe JWT encode/decode for Rust with configurable validation, secret rotation, key rotation, and revocation support
Documentation
[package]
name = "tokenkit"
version = "1.0.1"
edition = "2024"
rust-version = "1.88"
description = "Type-safe JWT encode/decode for Rust with configurable validation, secret rotation, key rotation, and revocation support"
license = "MIT OR Apache-2.0"
repository = "https://github.com/WyattAu/tokenkit"
keywords = ["jwt", "token", "authentication", "jwk", "security"]
categories = ["authentication", "web-programming"]
exclude = ["/target"]

[dependencies]
jsonwebtoken = { version = "11", features = ["rust_crypto"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
chrono = { version = "0.4", features = ["serde"] }
thiserror = "2"
uuid = { version = "1", features = ["v4"] }
async-trait = { version = "0.1", optional = true }
tokio = { version = "1", features = ["rt", "rt-multi-thread", "sync"], optional = true }
redis = { version = "0.25", optional = true, features = ["tokio-comp"] }
reqwest = { version = "0.13", default-features = false, features = ["json", "rustls"], optional = true }

[[bench]]
name = "token_bench"
harness = false

[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
proptest = "1"

[features]
default = ["std"]
std = []
revocation = ["tokio", "dep:async-trait"]
revocation-redis = ["revocation", "dep:redis"]
rotation = []
jwks = ["tokio", "dep:reqwest"]

[lints.clippy]
unwrap_used = "deny"
expect_used = "warn"
indexing_slicing = "deny"
panic = "deny"

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

[package.metadata.layers]
tier = "L1"