forked from confidential-containers/td-shim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
49 lines (45 loc) · 1.64 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
[package]
name = "td-payload"
version = "0.1.0"
description = "A sample TD module/driver for TDX hardware platforms"
repository = "https://github.com/confidential-containers/td-shim"
homepage = "https://github.com/confidential-containers"
license = "BSD-2-Clause-Patent"
edition = "2018"
[[bin]]
name = "example"
required-features = ["start"]
[dependencies]
bit_field = "0.10"
linked_list_allocator = "0.10"
lazy_static = "1.0"
log = "0.4.13"
r-efi = "3.2.0"
scroll = { version = "0.10", default-features = false, features = ["derive"]}
serde = { version = "1.0", default-features = false, features = ["derive"]}
serde_json = { version = "1.0", default-features = false, features = ["alloc"] }
spin = "0.9"
td-logger = { path = "../td-logger" }
td-shim = { path = "../td-shim", default-features = false }
td-shim-interface = { path = "../td-shim-interface" }
td-exception = { path = "../td-exception" }
td-paging = { path = "../td-paging" }
x86 = "0.47.0"
x86_64 = { version = "0.14.9", default-features = false, features = ["instructions"] }
td-benchmark = { path = "../devtools/td-benchmark", optional = true }
tdx-tdcall = { path = "../tdx-tdcall", optional = true }
zerocopy = { version = "0.7.31", features = ["derive"] }
minicov = { version = "0.2", default-features = false, optional = true }
[features]
default = ["tdx"]
tdcall = ["tdx-tdcall/tdcall", "td-exception/tdcall"]
tdvmcall = ["tdx-tdcall/tdvmcall", "td-exception/tdvmcall", "td-logger/tdvmcall"]
tdx = ["tdcall", "tdvmcall"]
stack-guard = []
cet-shstk = ["td-exception/cet-shstk"]
cet-ibt = []
acpi = []
start = []
benches = ["td-benchmark"]
coverage = ["minicov"]
test_heap_size = ["td-benchmark"]