jwtk 0.5.0

JWT signing (JWS) and verification, with first class JWK and JWK Set (JWKS) support.
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 = "2021"
name = "jwtk"
version = "0.5.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "JWT signing (JWS) and verification, with first class JWK and JWK Set (JWKS) support."
readme = "README.md"
license = "MIT"
repository = "https://github.com/blckngm/jwtk"

[features]
aws-lc = ["dep:aws-lc-rs"]
default = [
    "aws-lc",
    "remote-jwks",
]
openssl = [
    "dep:openssl",
    "dep:openssl-sys",
    "dep:foreign-types",
]
remote-jwks = [
    "dep:reqwest",
    "dep:tokio",
]

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

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

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

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

[[bench]]
name = "sig"
path = "benches/sig.rs"

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

[dependencies.base64]
version = "0.22.1"

[dependencies.foreign-types]
version = "0.3.2"
optional = true

[dependencies.openssl]
version = "0.10.64"
optional = true

[dependencies.openssl-sys]
version = "0.9.102"
optional = true

[dependencies.reqwest]
version = "0.13"
features = ["json"]
optional = true

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

[dependencies.serde_json]
version = "1.0.116"

[dependencies.serde_with]
version = "3.1.0"

[dependencies.smallvec]
version = "1.13.2"

[dependencies.tokio]
version = "1.37.0"
features = ["sync"]
optional = true

[dev-dependencies.axum]
version = "0.8"

[dev-dependencies.tokio]
version = "1.9.0"
features = [
    "macros",
    "rt-multi-thread",
]