[package]
name = "authentication-verifier"
version = "0.9.0"
edition = "2024"
authors = ["Joel Parker Henderson <joel@joelparkerhenderson.com>"]
description = "Offline PASETO v4.public token verification for the Main X Index federation: fetch the authentication-service Ed25519 public keys once, then verify peer-service bearer tokens locally — no shared secret, no per-request introspection hop."
license = "MIT OR Apache-2.0 OR GPL-2.0 OR GPL-3.0 OR BSD-3-Clause"
repository = "https://github.com/sixarm/authentication-verifier-rust-crate"
readme = "README.md"
keywords = ["paseto", "ed25519", "authentication", "verification", "token"]
categories = ["authentication", "web-programming"]
include = ["src/**/*", "LICENSE.md", "README.md", "CHANGELOG.md"]
[features]
default = []
fetch = ["dep:reqwest"]
[dependencies]
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "2"
base64 = "0.22"
rusty_paseto = { version = "0.10.0", default-features = false, features = ["v4_public", "serde_json"] }
reqwest = { version = "0.12", default-features = false, features = [
"rustls-tls",
"json",
], optional = true }
[dev-dependencies]
ed25519-dalek = "2.2.0"
tokio = { version = "1", features = ["rt", "macros"] }