[[bench]]
harness = false
name = "algorithm_selection"
path = "benches/algorithm_selection.rs"
[[bench]]
harness = false
name = "claims_validation"
path = "benches/claims_validation.rs"
[[bench]]
harness = false
name = "ecdsa_algorithms"
path = "benches/ecdsa_algorithms.rs"
required-features = ["ecdsa"]
[[bench]]
harness = false
name = "hmac_algorithms"
path = "benches/hmac_algorithms.rs"
[[bench]]
harness = false
name = "jwks_caching"
path = "benches/jwks_caching.rs"
required-features = ["remote"]
[[bench]]
harness = false
name = "rsa_end_to_end"
path = "benches/rsa_end_to_end.rs"
[[bench]]
harness = false
name = "rsa_jsonwebtoken_comparison"
path = "benches/rsa_jsonwebtoken_comparison.rs"
[[bench]]
harness = false
name = "rsa_signature_verification"
path = "benches/rsa_signature_verification.rs"
[[bench]]
harness = false
name = "token_parsing"
path = "benches/token_parsing.rs"
[dependencies.aws-lc-rs]
optional = true
version = "1"
[dependencies.constant_time_eq]
version = "0.4.2"
[dependencies.hmac]
version = "0.12"
[dependencies.miniserde]
version = "0.1"
[dependencies.ring]
optional = true
version = "0.17"
[dependencies.rustls]
optional = true
version = "0.23"
[dependencies.rustls-pki-types]
optional = true
version = "1.7"
[dependencies.sha2]
version = "0.10"
[dependencies.webpki-roots]
optional = true
version = "0.26"
[dev-dependencies.base64]
version = "0.21"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.jsonwebtoken]
version = "9"
[dev-dependencies.rand]
version = "0.8"
[dev-dependencies.reqwest]
features = ["json"]
version = "0.12"
[dev-dependencies.rsa]
features = ["std"]
version = "0.9"
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1.0"
[[example]]
name = "basic"
path = "examples/basic.rs"
[[example]]
name = "multi_algorithm"
path = "examples/multi_algorithm.rs"
required-features = ["all-algorithms"]
[features]
all-algorithms = ["rsa", "ecdsa"]
aws-lc-rs = ["dep:aws-lc-rs"]
default = []
ecdsa = ["dep:ring"]
remote = []
remote-rustls = ["remote", "dep:rustls", "dep:webpki-roots", "dep:rustls-pki-types"]
rsa = ["dep:ring"]
[lib]
name = "jwtiny"
path = "src/lib.rs"
[package]
authors = ["Sebastian Müller <c@sbstjn.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Minimal, type-safe JWT validation library"
edition = "2021"
license = "MIT"
name = "jwtiny"
readme = "README.md"
repository = "https://github.com/sbstjn/jwtiny"
version = "0.2.0"
[[test]]
name = "algorithm_round_trips"
path = "tests/algorithm_round_trips.rs"
[[test]]
name = "custom_headers"
path = "tests/custom_headers.rs"
[[test]]
name = "edge_cases"
path = "tests/edge_cases.rs"
[[test]]
name = "jwk_support"
path = "tests/jwk_support.rs"
[[test]]
name = "jwkserve_integration"
path = "tests/jwkserve_integration.rs"
[[test]]
name = "jwtio_compatibility"
path = "tests/jwtio_compatibility.rs"
[[test]]
name = "key_formats"
path = "tests/key_formats.rs"