# 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.85"
name = "moq-token"
version = "0.5.14"
authors = ["Luke Curley"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Media over QUIC - Token Generation and Validation"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/moq-dev/moq"
resolver = "2"

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

[lib]
name = "moq_token"
path = "src/lib.rs"
doctest = false

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

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

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

[dependencies.base64]
version = "0.22"

[dependencies.elliptic-curve]
version = "0.13.8"

[dependencies.jsonwebtoken]
version = "10"
features = ["aws_lc_rs"]

[dependencies.p256]
version = "0.13.2"

[dependencies.p384]
version = "0.13.1"

[dependencies.reqwest]
version = "0.12"
features = ["rustls-tls"]
optional = true
default-features = false

[dependencies.rsa]
version = "0.9.10"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3"
features = ["base64"]

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = ["fs"]
optional = true

[dev-dependencies.anyhow]
version = "1"
