-
Notifications
You must be signed in to change notification settings - Fork 18
/
Cargo.toml
37 lines (33 loc) · 1.18 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
name = "jsonwebkey"
version = "0.4.0-beta.1"
authors = ["Nick Hynes <[email protected]>"]
description = "JSON Web Key (JWK) (de)serialization, generation, and conversion."
readme = "README.md"
repository = "https://github.com/nhynes/jwk-rs"
documentation = "http://docs.rs/jsonwebkey/"
license = "MIT"
edition = "2021"
[dependencies]
base64 = "0.13"
bitflags = "1.2"
generic-array = "0.14"
jsonwebtoken = { version = "8.0", optional = true }
num-bigint = { version = "0.4", optional = true }
p256 = { version = "0.10", optional = true, features = ["arithmetic"] }
rand = { version = "0.8", optional = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = { version = "0.10", optional = true }
thiserror = "1.0"
yasna = { version = "0.5", optional = true, features = ["num-bigint"] }
zeroize = { version = "1.5", features = ["zeroize_derive"] }
[features]
pkcs-convert = ["num-bigint", "yasna"]
jwt-convert = ["pkcs-convert", "jsonwebtoken"]
generate = ["p256", "rand"]
thumbprint = ["sha2"]
[dev-dependencies]
jsonwebtoken = "8.0"
[package.metadata.docs.rs]
all-features = true