加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Cargo.toml 1.60 KB
一键复制 编辑 原始数据 按行查看 历史
Frank Denis 提交于 2022-10-11 21:51 . Update ed25519-compact
[package]
name = "jwt-simple"
version = "0.11.1"
description = "Easy to use, secure, non opinionated JWT (JSON Web Tokens) implementation for Rust."
authors = ["Frank Denis <github@pureftpd.org>"]
edition = "2018"
license = "ISC"
repository = "https://github.com/jedisct1/rust-jwt-simple"
homepage = "https://github.com/jedisct1/rust-jwt-simple"
categories = ["wasm", "api-bindings", "web-programming", "cryptography"]
keywords = ["jwt", "jws", "authentication", "tokens", "json"]
readme = "README.md"
[dependencies]
anyhow = "1.0.65"
binstring = "0.1.1"
ciborium = { version = "0.2.0", optional = true }
coarsetime = "0.1.22"
ct-codecs = "1.1.1"
ed25519-compact = { version = "2.0.1", features = ["pem"] }
hmac-sha1-compact = "1.1.1"
hmac-sha256 = { version = "1.1.4", features = ["traits010"] }
hmac-sha512 = { version = "1.1.2", features = ["traits010", "sha384"] }
k256 = { version = "0.11.6", features = ["ecdsa", "std", "pkcs8", "pem"] }
p256 = { version = "0.11.1", features = ["ecdsa", "std", "pkcs8", "pem"] }
p384 = { version = "0.11.2", features = ["ecdsa", "std", "pkcs8", "pem"] }
rand = "0.8.5"
rsa = "0.6.1"
serde = { version = "1.0.145", features = ["derive"] }
serde_json = "1.0.86"
spki05 = { package = "spki", version = "0.5.4" } # Use an old version, required by the rsa crate, but that crate doesn't reexport it
thiserror = "1.0.37"
zeroize = "1.5.7"
[dev-dependencies]
benchmark-simple = "0.1.7"
[features]
cwt = ["ciborium"]
[[bench]]
name = "benchmark"
harness = false
[profile.release]
codegen-units = 1
incremental = false
panic = "abort"
lto = "fat"
[profile.bench]
codegen-units = 1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化