-
Notifications
You must be signed in to change notification settings - Fork 175
Expand file tree
/
Copy pathCargo.toml
More file actions
138 lines (134 loc) · 4.36 KB
/
Copy pathCargo.toml
File metadata and controls
138 lines (134 loc) · 4.36 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
[package]
name = "verifier"
version = "0.1.0"
edition = "2021"
[features]
default = ["all-verifier"]
all-verifier = [
"tdx-verifier",
"sgx-verifier",
"snp-verifier",
"az-snp-vtpm-verifier",
"az-tdx-vtpm-verifier",
"csv-verifier",
"hygon-dcu-verifier",
"cca-verifier",
"se-verifier",
"nvidia-verifier",
"tpm-verifier",
]
tdx-verifier = [
"eventlog",
"scroll",
"intel-tee-quote-verification-rs",
"asn1-rs",
"x509-parser",
"tokio/fs",
"tokio/sync",
]
sgx-verifier = [
"scroll",
"intel-tee-quote-verification-rs",
"asn1-rs",
"x509-parser",
"tokio/fs",
"tokio/sync",
]
az-snp-vtpm-verifier = [
"az-snp-vtpm",
"eventlog",
"serde_with",
"sev",
"snp-verifier",
"tss-esapi",
]
az-tdx-vtpm-verifier = [
"az-snp-vtpm-verifier",
"az-tdx-vtpm",
"openssl",
"serde_with",
"tdx-verifier",
]
snp-verifier = ["asn1-rs", "openssl", "sev", "x509-parser"]
csv-verifier = ["codicon", "csv-rs", "eventlog", "openssl", "tokio/fs"]
hygon-dcu-verifier = ["csv-rs"]
cca-verifier = ["ear", "jsonwebtoken", "veraison-apiclient", "ccatoken"]
se-verifier = ["openssl", "pv", "serde_with", "tokio/sync"]
nvidia-verifier = ["jsonwebtoken", "asn1-rs", "openssl", "x509-parser"]
tpm-verifier = ["az-cvm-vtpm", "openssl", "tss-esapi"]
nvidia-dpu-verifier = ["p384", "serde_with", "x509-parser"]
[dependencies]
anyhow.workspace = true
thiserror.workspace = true
asn1-rs = { version = "0.7.2", optional = true }
async-trait.workspace = true
az-snp-vtpm = { version = "0.8.1", default-features = false, features = [
"verifier",
], optional = true }
az-cvm-vtpm = { version = "0.8.1", default-features = false, features = [
"verifier",
], optional = true }
az-tdx-vtpm = { version = "0.8.1", default-features = false, features = [
"verifier",
], optional = true }
base64.workspace = true
cfg-if.workspace = true
codicon = { version = "3.0", optional = true }
csv-rs = { version = "0.1.0", optional = true, default-features = false, features = [
"network",
] }
eventlog = { path = "../eventlog", optional = true }
hex = { workspace = true, features = ["serde"] }
jsonwebkey = "0.4.0"
# Only the backend-agnostic `StorageProvider` is needed here, so the backend
# features (postgres/redis) are intentionally left disabled.
key-value-storage = { path = "../key-value-storage", default-features = false }
jsonwebtoken = { workspace = true, default-features = false, optional = true }
kbs-types.workspace = true
openssl = { workspace = true, optional = true }
p384 = { version = "0.13", features = ["ecdsa", "pem"], optional = true }
pv = { version = "0.12.0", package = "s390_pv", optional = true }
scroll = { version = "0.13.0", default-features = false, features = [
"derive",
], optional = true }
serde.workspace = true
serde_json.workspace = true
serde_with = { workspace = true, optional = true }
# note: this one is overriden in the workspace Cargo.toml, because the
# 7.1.0 version doesn't build w/ sev + serde features enabled. The
# override can be removed once 7.2.0 is released
sev = { version = "7", default-features = false, features = [
"openssl",
"snp",
"serde",
], optional = true }
sha2.workspace = true
tokio = { workspace = true, optional = true }
tracing.workspace = true
intel-tee-quote-verification-rs = { git = "https://github.com/intel/confidential-computing.tee.dcap", tag = "DCAP_1.27", optional = true }
strum.workspace = true
veraison-apiclient = { git = "https://github.com/veraison/rust-apiclient", rev = "fe149cd", optional = true }
ccatoken = { git = "https://github.com/veraison/rust-ccatoken", rev = "870c83f", optional = true }
ear = { version = "0.5.0", optional = true }
x509-parser = { version = "0.18.1", optional = true }
reqwest = { workspace = true, features = ["default-tls"] }
reqwest-middleware = "0.5.1"
http-cache-reqwest = { version = "1.0.0-alpha.6", default-features = false, features = [
"manager-moka",
"url-standard",
] }
chrono = { workspace = true, features = ["serde"] }
urlencoding = "2.1.3"
url = "2.5.7"
bitflags = { version = "2.13.0", features = ["serde"] }
time.workspace = true
tss-esapi = { version = "7.5", optional = true }
[build-dependencies]
[dev-dependencies]
assert-json-diff.workspace = true
openssl.workspace = true
rstest.workspace = true
serial_test.workspace = true
tempfile.workspace = true
tokio.workspace = true
tracing-subscriber.workspace = true