forked from confidential-containers/trustee
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
101 lines (92 loc) · 2.73 KB
/
Copy pathCargo.toml
File metadata and controls
101 lines (92 loc) · 2.73 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
[package]
name = "attestation-service"
version = "0.1.0"
edition = "2021"
[features]
default = ["grpc-bin", "rvps-grpc"]
all-verifier = ["verifier/all-verifier"]
tdx-verifier = ["verifier/tdx-verifier"]
sgx-verifier = ["verifier/sgx-verifier"]
az-snp-vtpm-verifier = ["verifier/az-snp-vtpm-verifier"]
az-tdx-vtpm-verifier = ["verifier/az-tdx-vtpm-verifier"]
snp-verifier = ["verifier/snp-verifier"]
csv-verifier = ["verifier/csv-verifier"]
hygon-dcu-verifier = ["verifier/hygon-dcu-verifier"]
cca-verifier = ["verifier/cca-verifier"]
se-verifier = ["verifier/se-verifier"]
nvidia-verifier = ["verifier/nvidia-verifier"]
tpm-verifier = ["verifier/tpm-verifier"]
rvps-grpc = ["prost", "tonic", "mobc"]
# For building gRPC CoCo-AS binary
grpc-bin = [
"axum",
"clap",
"prost",
"tonic",
"tonic-health",
"tonic-prost",
"rustls",
]
# For restful CoCo-AS binary
restful-bin = ["actix-cors", "actix-web/openssl", "clap"]
[[bin]]
name = "grpc-as"
required-features = ["grpc-bin"]
[[bin]]
name = "restful-as"
required-features = ["restful-bin"]
[dependencies]
actix-web = { workspace = true, optional = true }
axum = { version = "0.8", default-features = false, features = [
"json",
], optional = true }
anyhow.workspace = true
async-trait.workspace = true
base64.workspace = true
serde_json_canonicalizer = "0.3"
cfg-if.workspace = true
clap = { workspace = true, optional = true }
ear.workspace = true
hex.workspace = true
jsonwebtoken.workspace = true
kbs-types.workspace = true
key-value-storage.path = "../deps/key-value-storage"
mobc = { workspace = true, optional = true }
openssl.workspace = true
policy-engine.path = "../deps/policy-engine"
prost = { workspace = true, optional = true }
reference-value-provider-service.path = "../rvps"
regorus.workspace = true
rsa.workspace = true
rustls = { version = "0.23", default-features = false, features = [
"ring",
], optional = true }
serde.workspace = true
serde_json.workspace = true
serde_variant = "0.1.2"
sha2.workspace = true
shadow-rs.workspace = true
strum.workspace = true
tempfile.workspace = true
time.workspace = true
thiserror.workspace = true
tokio.workspace = true
toml.workspace = true
tonic = { workspace = true, optional = true }
tonic-health = { workspace = true, optional = true }
tonic-prost = { workspace = true, optional = true }
tracing.workspace = true
tracing-subscriber.workspace = true
uuid.workspace = true
verifier = { path = "../deps/verifier", default-features = false }
actix-cors = { version = "0.7", optional = true }
[build-dependencies]
shadow-rs.workspace = true
tonic-prost-build.workspace = true
[dev-dependencies]
assert-json-diff.workspace = true
hex.workspace = true
rstest.workspace = true
serial_test.workspace = true
sha2.workspace = true
testing_logger = "0.1.1"