[package]
name = "moq-token"
description = "Media over QUIC - Token Generation and Validation"
authors = ["Luke Curley"]
repository = "https://github.com/moq-dev/moq"
license = "MIT OR Apache-2.0"

version = "0.5.14"
edition = "2024"
rust-version.workspace = true

[lib]
doctest = false

[features]
jwks-loader = ["reqwest"]
tokio = ["dep:tokio"]

[dependencies]
aws-lc-rs = "1"
base64 = "0.22"
elliptic-curve = "0.13.8"
jsonwebtoken = { version = "10", features = ["aws_lc_rs"] }
p256 = "0.13.2"
p384 = "0.13.1"
reqwest = { version = "0.12", default-features = false, features = ["rustls-tls"], optional = true }
rsa = "0.9.10"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_with = { version = "3", features = ["base64"] }
thiserror = "2"
tokio = { version = "1", features = ["fs"], optional = true }

[dev-dependencies]
anyhow = "1"
