-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
90 lines (81 loc) · 2.54 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
[package]
name = "jose"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
rust-version = "1.65"
[features]
default = []
std = [
"signature/std",
"thiserror-no-std/std",
"rsa/std",
"rand_core/std",
"fluent-uri/std"
]
[dependencies]
thiserror-no-std = "2.0.2"
base64ct = { version = "1.5", default-features = false, features = ["alloc"] }
serde = { version = "1.0.139", default-features = false, features = [
"alloc",
"derive",
] }
serde_json = { version = "1.0.50", default-features = false, features = [
"alloc",
] }
hashbrown = { version = "0.14", features = ["serde"] }
rand_core = { version = "0.6", features = ["getrandom", "alloc"] }
hmac = { version = "0.12", default-features = false }
sha1 = { version = "0.10", default-features = false, features = ["oid"] }
sha2 = { version = "0.10", default-features = false, features = ["oid"] }
ed25519 = { version = "2.2.1", default-features = false, features = ["alloc"] }
p256 = { version = "0.13", default-features = false, features = [
"arithmetic",
"ecdsa",
] }
p384 = { version = "0.13", default-features = false, features = [
"arithmetic",
"ecdsa",
] }
k256 = { version = "0.13", default-features = false, features = [
"arithmetic",
"ecdsa",
] }
elliptic-curve = { version = "0.13", default-features = false, features = [
"arithmetic",
"jwk",
"serde",
"sec1",
"pkcs8",
"pem",
] }
rsa = { version = "0.9", default-features = false }
digest = { version = "0.10.7", default-features = false, features = ["mac"] }
ecdsa = { version = "0.16", default-features = false, features = [
"digest",
"signing",
"verifying",
"alloc",
] }
ed25519-dalek = { version = "2", default-features = false, features = [
"zeroize",
"rand_core",
] }
signature = { version = "2.1.0", default-features = false }
# FIXME: remove this when we can use const generics
generic-array = { version = "0.14", default-features = false, features = [
"serde",
] }
typenum = { version = "1.15", default-features = false, features = ["no_std"] }
num-traits = { version = "0.2.15", default-features = false }
num-bigint-dig = { version = "0.8.1", default-features = false, features = [
"u64_digit",
] }
serde-value = { version = "0.7.0", default-features = false }
# a replacement for the `mime` crate from hyper which seems to be no longer maintained
mediatype = { version = "0.19.3", features = ["serde"] }
fluent-uri = { version = "0.1.4", default-features = false }
[dev-dependencies]
rand = "0.8.5"
# For X.509 certificates of Json Web Keys
# x509-cert = { git = "https://github.com/RustCrypto/formats.git" }