ppoppo-token 0.3.0

JWT (RFC 9068, EdDSA) issuance + verification engine for the Ppoppo ecosystem. Single deep module with a small interface (issue, verify) hiding RFC 8725 mitigations M01-M45, JWKS handling, and substrate ports (epoch, session, replay).
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 = "ppoppo-token"
version = "0.3.0"
authors = ["ppoppo Team"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JWT (RFC 9068, EdDSA) issuance + verification engine for the Ppoppo ecosystem. Single deep module with a small interface (issue, verify) hiding RFC 8725 mitigations M01-M45, JWKS handling, and substrate ports (epoch, session, replay)."
homepage = "https://github.com/hakchin/ppoppo/tree/main/crates/shared/ppoppo-token"
documentation = "https://docs.rs/ppoppo-token"
readme = "README.md"
keywords = [
    "jwt",
    "rfc-9068",
    "eddsa",
    "authentication",
    "jwks",
]
categories = [
    "authentication",
    "cryptography",
    "web-programming",
]
license = "MIT"
repository = "https://github.com/hakchin/ppoppo"
resolver = "2"

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

[[bin]]
name = "generate-keys"
path = "src/bin/generate_keys.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.ed25519-compact]
version = "2"

[dependencies.hex]
version = "0.4"

[dependencies.jsonwebtoken]
version = "9"
features = ["use_pem"]

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

[dependencies.static_assertions]
version = "1.1"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = [
    "formatting",
    "parsing",
]

[dependencies.tracing]
version = "0.1"

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

[dev-dependencies.tokio]
version = "1.51"
features = ["full"]

[dev-dependencies.tracing-subscriber]
version = "0.3"
features = [
    "env-filter",
    "json",
]

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

[lints.rust]
unsafe_code = "forbid"