1
0
mirror of https://github.com/BitskiCo/jwk-rs synced 2024-11-25 13:29:21 +00:00
jwk-rs/Cargo.toml

36 lines
1.1 KiB
TOML
Raw Normal View History

2020-07-12 18:57:57 +00:00
[package]
name = "jsonwebkey"
2021-07-28 07:01:39 +00:00
version = "0.3.4"
2020-07-12 18:57:57 +00:00
authors = ["Nick Hynes <nhynes@nhynes.com>"]
description = "JSON Web Key (JWK) (de)serialization, generation, and conversion."
readme = "README.md"
repository = "https://github.com/nhynes/jwk-rs"
2021-04-28 15:43:54 +00:00
documentation = "http://docs.rs/jsonwebkey/"
2020-07-12 18:57:57 +00:00
license = "MIT"
edition = "2018"
[dependencies]
2021-07-28 07:01:39 +00:00
base64 = "0.13"
2021-01-25 17:11:01 +00:00
bitflags = "1.2"
generic-array = "0.14"
jsonwebtoken = { version = "8.0", optional = true }
2021-07-28 07:01:39 +00:00
num-bigint = { version = "0.4", optional = true }
p256 = { version = "0.9", optional = true, features = ["arithmetic"] }
rand = { version = "0.8", optional = true }
2021-01-25 17:11:01 +00:00
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
thiserror = "1.0"
2021-07-28 07:01:39 +00:00
yasna = { version = "0.4", optional = true, features = ["num-bigint"] }
zeroize = { version = "1.4", features = ["zeroize_derive"] }
2020-07-12 21:23:06 +00:00
[features]
2020-07-16 02:32:11 +00:00
pkcs-convert = ["num-bigint", "yasna"]
2021-01-25 17:11:01 +00:00
jwt-convert = ["pkcs-convert", "jsonwebtoken"]
generate = ["p256", "rand"]
2020-07-13 20:46:42 +00:00
[dev-dependencies]
jsonwebtoken = "8.0"
2021-01-25 17:11:01 +00:00
[package.metadata.docs.rs]
all-features = true