-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathCargo.toml
More file actions
87 lines (79 loc) · 2.68 KB
/
Cargo.toml
File metadata and controls
87 lines (79 loc) · 2.68 KB
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
[package]
name = "isomdl"
version = "0.2.0"
edition = "2021"
description = "ISO mDL implementation in Rust"
readme = "README.md"
homepage = "https://github.com/spruceid/isomdl"
repository = "https://github.com/spruceid/isomdl"
documentation = "https://docs.rs/isomdl"
license = "Apache-2.0 OR MIT"
exclude = ["test/"]
[[bin]]
name = "isomdl-utils"
path = "src/bin/utils.rs"
required-features = ["cli"]
[dependencies]
anyhow = "1.0"
ecdsa = { version = "0.16.9", features = ["serde", "verifying"] }
p256 = { version = "0.13.0", features = ["serde", "ecdh"] }
p384 = { version = "0.13.0", features = ["serde", "ecdh"] }
rand = { version = "0.8.5", features = ["getrandom"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_bytes = "0.11.0"
sha2 = { version = "0.10.8", features = ["oid"] }
thiserror = "1.0"
elliptic-curve = "0.13.1"
hkdf = "0.12.3"
aes-gcm = "0.10.1"
hmac = "0.12.1"
aes = "0.8.2"
sec1 = "0.7.1"
uuid = { version = "1.3", features = ["v1", "v4", "std", "rng", "serde"] }
time = { version = "0.3.35", features = ["formatting", "parsing", "macros"] }
signature = { version = "2.0.0", features = ["std"] }
async-signature = "0.3.0"
#tracing = "0.1"
base64 = "0.13"
pem-rfc7468 = "0.7.0"
x509-cert = { version = "0.2.4", features = ["pem", "builder"] }
ssi-jwk = "0.2.1"
isomdl-macros = { version = "0.1.0", path = "macros" }
clap = { version = "4", features = ["derive"], optional = true }
clap-stdin = { version = "0.2.1", optional = true }
const-oid = "0.9.2"
der = { version = "0.7", features = ["std", "derive", "alloc"] }
hex = "0.4.3"
asn1-rs = { version = "0.5.2", features = ["bits"] }
# Pinned for compatibility with current RustCrypto crate versions.
# Can be removed once crypto-common 0.2.x is released.
# See: https://github.com/fizyk20/generic-array/issues/158
generic-array = "=0.14.7"
strum = "0.24"
strum_macros = "0.24"
coset = "0.3.8"
ciborium = "0.2.2"
digest = "0.10.7"
tracing = "0.1.41"
sha1 = "0.10.6"
ndef-rs = "0.2.3"
async-trait = "0.1"
reqwest = { version = "0.12", optional = true, default-features = false, features = ["rustls-tls"] }
moka = { version = "0.12", optional = true, features = ["future"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros"], optional = true }
[features]
default = []
cli = ["dep:clap", "dep:clap-stdin", "dep:tokio"]
reqwest = ["dep:reqwest", "dep:moka"]
[dev-dependencies]
hex = "0.4.3"
p256 = "0.13.0"
rstest = "0.23.0"
serde_json = "1.0.145"
test-log = { version = "0.2.16", features = ["trace"] }
x509-cert = { version = "0.2.4", features = ["pem", "builder", "hazmat"] }
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
wiremock = "0.6"
[package.metadata.cargo-machete]
ignored = ["serde_bytes"]