2 Star 0 Fork 0

mirrors_jedisct1/rust-jwt-simple

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Cargo.toml 1.95 KB
一键复制 编辑 原始数据 按行查看 历史
Frank Denis 提交于 2024-02-09 13:18 . Bump
[package]
name = "jwt-simple"
version = "0.12.8"
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.79"
blake2b_simd = "1.0.2"
binstring = "0.1.1"
ciborium = { version = "0.2.2", optional = true }
coarsetime = "0.1.34"
ct-codecs = "1.1.1"
ed25519-compact = { version = "2.1.1", features = ["pem"] }
hmac-sha1-compact = "1.1.4"
hmac-sha256 = { version = "1.1.7", features = ["traits010"] }
hmac-sha512 = { version = "1.1.5", features = ["traits010", "sha384"] }
k256 = { version = "0.13.3", features = ["ecdsa", "std", "pkcs8", "pem"] }
p256 = { version = "0.13.2", features = ["ecdsa", "std", "pkcs8", "pem"] }
p384 = { version = "0.13.0", features = ["ecdsa", "std", "pkcs8", "pem"] }
rand = "0.8.5"
serde = { version = "1.0.196", features = ["derive"] }
serde_json = "1.0.113"
thiserror = "1.0.56"
zeroize = "1.7.0"
[target.'cfg(not(any(target_arch = "wasm32", target_arch = "wasm64")))'.dependencies]
boring = { version = "4.5.0", optional = true }
superboring = { version = "0.1.2", optional = true }
[target.'cfg(any(target_arch = "wasm32", target_arch = "wasm64"))'.dependencies]
superboring = { version = "0.1.2" }
[dev-dependencies]
benchmark-simple = "0.1.9"
[features]
default = ["optimal"]
cwt = ["ciborium"]
optimal = ["boring"]
# Note: to emulate boringssl, "default-features = false" is required in addition to "pure-rust".
pure-rust = ["superboring"]
wasi-abi2 = ["coarsetime/wasi-abi2"]
[[bench]]
name = "benchmark"
harness = false
[profile.release]
codegen-units = 1
incremental = false
panic = "abort"
[profile.bench]
codegen-units = 1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors_jedisct1/rust-jwt-simple.git
git@gitee.com:mirrors_jedisct1/rust-jwt-simple.git
mirrors_jedisct1
rust-jwt-simple
rust-jwt-simple
master

搜索帮助

D67c1975 1850385 1daf7b77 1850385