uselesskey-jsonwebtoken 0.5.1

jsonwebtoken adapter traits for uselesskey fixtures (EncodingKey/DecodingKey).
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.92"
name = "uselesskey-jsonwebtoken"
version = "0.5.1"
authors = ["Effortless Metrics <opensource@effortlessmetrics.com>"]
build = false
exclude = [
    "fuzz/**",
    "corpus/**",
    "**/*.der",
    "**/*.pem",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "jsonwebtoken adapter traits for uselesskey fixtures (EncodingKey/DecodingKey)."
homepage = "https://github.com/EffortlessMetrics/uselesskey"
documentation = "https://docs.rs/uselesskey-jsonwebtoken"
readme = "README.md"
keywords = [
    "jwt",
    "jsonwebtoken",
    "fixtures",
    "testing",
    "adapter",
]
categories = [
    "development-tools::testing",
    "cryptography",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/EffortlessMetrics/uselesskey"
resolver = "2"

[package.metadata.docs.rs]
features = ["all"]

[features]
all = [
    "rsa",
    "ecdsa",
    "ed25519",
    "hmac",
]
default = []
ecdsa = ["dep:uselesskey-ecdsa"]
ed25519 = ["dep:uselesskey-ed25519"]
hmac = ["dep:uselesskey-hmac"]
rsa = ["dep:uselesskey-rsa"]

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

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

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

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

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

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

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

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

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

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

[dependencies.uselesskey-ecdsa]
version = "0.5.1"
optional = true

[dependencies.uselesskey-ed25519]
version = "0.5.1"
optional = true

[dependencies.uselesskey-hmac]
version = "0.5.1"
optional = true

[dependencies.uselesskey-rsa]
version = "0.5.1"
optional = true

[dev-dependencies.insta]
version = "1.47.0"
features = [
    "yaml",
    "redactions",
]

[dev-dependencies.jsonwebtoken]
version = "10"
features = [
    "use_pem",
    "rust_crypto",
]

[dev-dependencies.proptest]
version = "1.11.0"

[dev-dependencies.serde]
version = "1.0.228"
features = ["derive"]

[dev-dependencies.uselesskey-core]
version = "0.5.1"

[dev-dependencies.uselesskey-ecdsa]
version = "0.5.1"

[dev-dependencies.uselesskey-ed25519]
version = "0.5.1"

[dev-dependencies.uselesskey-hmac]
version = "0.5.1"

[dev-dependencies.uselesskey-rsa]
version = "0.5.1"