jwt-simple 0.12.16

Easy to use, secure, non opinionated JWT (JSON Web Tokens) implementation for Rust.
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 = "2018"
name = "jwt-simple"
version = "0.12.16"
authors = ["Frank Denis <github@pureftpd.org>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Easy to use, secure, non opinionated JWT (JSON Web Tokens) implementation for Rust."
homepage = "https://github.com/jedisct1/rust-jwt-simple"
readme = "README.md"
keywords = [
    "jwt",
    "jws",
    "authentication",
    "tokens",
    "json",
]
categories = [
    "wasm",
    "api-bindings",
    "web-programming",
    "cryptography",
]
license = "ISC"
repository = "https://github.com/jedisct1/rust-jwt-simple"

[features]
cwt = ["ciborium"]
default = [
    "optimal",
    "jwe",
]
jwe = []
optimal = ["boring"]
pure-rust = ["superboring"]
wasi-abi2 = ["coarsetime/wasi-abi2"]

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

[[bench]]
name = "benchmark"
path = "benches/benchmark.rs"
harness = false

[dependencies.anyhow]
version = "1.0.102"

[dependencies.binstring]
version = "0.1.7"

[dependencies.blake2b_simd]
version = "1.0.4"

[dependencies.ciborium]
version = "0.2.2"
optional = true

[dependencies.coarsetime]
version = "0.1.37"

[dependencies.ct-codecs]
version = "1.1.6"

[dependencies.ed25519-compact]
version = "2.2.0"
features = ["pem"]

[dependencies.hmac-sha1-compact]
version = "1.1.7"

[dependencies.hmac-sha256]
version = "1.1.14"
features = ["traits010"]

[dependencies.hmac-sha512]
version = "1.1.12"
features = [
    "traits010",
    "sha384",
]

[dependencies.k256]
version = "0.13.4"
features = [
    "ecdsa",
    "std",
    "pkcs8",
    "pem",
]

[dependencies.p256]
version = "0.13.2"
features = [
    "ecdsa",
    "std",
    "pkcs8",
    "pem",
    "ecdh",
]

[dependencies.p384]
version = "0.13.1"
features = [
    "ecdsa",
    "std",
    "pkcs8",
    "pem",
]

[dependencies.rand]
version = "^0.8.6"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.zeroize]
version = "1.8.2"

[dev-dependencies.benchmark-simple]
version = "0.1.10"

[target.'cfg(any(target_arch = "wasm32", target_arch = "wasm64"))'.dependencies.superboring]
version = "0.1.11"

[target.'cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))'.dependencies.boring]
version = "5.1.0"
optional = true

[target.'cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))'.dependencies.superboring]
version = "0.1.11"
optional = true

[profile.bench]
codegen-units = 1

[profile.release]
codegen-units = 1
panic = "abort"
incremental = false