2020-07-12 18:57:57 +00:00
|
|
|
[package]
|
|
|
|
name = "jsonwebkey"
|
2020-07-12 21:23:06 +00:00
|
|
|
version = "0.0.2"
|
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"
|
|
|
|
license = "MIT"
|
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[dependencies]
|
|
|
|
base64 = "0.12"
|
|
|
|
bitflags = "1.2"
|
|
|
|
derive_more = "0.99"
|
2020-07-13 22:11:10 +00:00
|
|
|
jsonwebtoken = { version = "7.2", optional = true }
|
2020-07-13 20:46:42 +00:00
|
|
|
num-bigint = { version = "0.2", optional = true }
|
2020-07-13 23:07:02 +00:00
|
|
|
p256 = { version = "0.3", optional = true }
|
2020-07-12 18:57:57 +00:00
|
|
|
paste = "0.1"
|
2020-07-13 23:07:02 +00:00
|
|
|
rand = { version = "0.7", optional = true }
|
2020-07-12 18:57:57 +00:00
|
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
|
|
serde_json = "1.0"
|
|
|
|
syn = { version = "1.0", features = ["full"] } # required to parse const generics
|
|
|
|
thiserror = "1.0"
|
2020-07-13 20:46:42 +00:00
|
|
|
yasna = { version = "0.3", optional = true, features = ["num-bigint"] }
|
2020-07-12 18:57:57 +00:00
|
|
|
zeroize = { version = "1.1", features = ["zeroize_derive"] }
|
2020-07-12 21:23:06 +00:00
|
|
|
|
|
|
|
[features]
|
2020-07-13 20:46:42 +00:00
|
|
|
convert = ["num-bigint", "yasna"]
|
2020-07-13 23:07:02 +00:00
|
|
|
generate = ["p256", "rand"]
|
2020-07-13 20:46:42 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
jsonwebtoken = "7.2"
|