forked from project-oak/oak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
61 lines (58 loc) · 2.11 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
[package]
name = "oak_restricted_kernel"
version = "0.1.0"
authors = ["Andri Saar <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
[features]
default = ["vsock_channel", "initrd"]
# Ability to load an application from initrd, the measurement of which was already taken by stage0.
# In this case, instead of creating a dice layer, the kernel will expose stage0 dice data to the application.
initrd = []
virtio_console_channel = ["virtio-drivers"]
vsock_channel = ["oak_virtio"]
serial_channel = ["uart_16550"]
simple_io_channel = ["oak_simple_io"]
[dependencies]
acpi = "*"
aml = "*"
anyhow = { version = "*", default-features = false }
arrayvec = { version = "*", default-features = false }
atomic_refcell = "*"
bitflags = "*"
bitvec = { version = "*", default-features = false }
coset = { version = "*", default-features = false }
goblin = { version = "*", default-features = false, features = [
"elf32",
"elf64",
"endian_fd",
] }
hex = { version = "*", default-features = false, features = ["alloc"] }
linked_list_allocator = { version = "*", features = ["alloc_ref"] }
log = "*"
libm = "*"
oak_channel = { workspace = true }
oak_core = { workspace = true }
oak_crypto = { workspace = true }
hpke = { version = "*", default-features = false, features = ["alloc"] }
oak_dice = { workspace = true }
oak_simple_io = { workspace = true, optional = true }
oak_linux_boot_params = { workspace = true }
oak_restricted_kernel_dice = { workspace = true }
oak_restricted_kernel_interface = { workspace = true }
rust-hypervisor-firmware-virtio = { path = "../third_party/rust-hypervisor-firmware-virtio" }
oak_sev_guest = { workspace = true, features = ["rust-crypto"] }
p256 = { version = "*", default-features = false, features = ["ecdsa"] }
self_cell = "*"
sev_serial = { workspace = true }
spinning_top = "*"
static_assertions = "*"
strum = { version = "*", default-features = false, features = ["derive"] }
uart_16550 = { version = "*", optional = true }
oak_virtio = { workspace = true, optional = true }
virtio-drivers = { version = "*", optional = true }
x86_64 = "*"
zerocopy = "*"
zeroize = "*"
[dev-dependencies]
assertables = "*"