forked from project-oak/oak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
50 lines (43 loc) · 1.24 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
[package]
name = "oak_restricted_kernel_bin"
version = "0.1.0"
authors = ["Andri Saar <[email protected]>"]
edition = "2021"
license = "Apache-2.0"
[features]
default = ["virtio_console_channel", "initrd"]
virtio_console_channel = ["oak_restricted_kernel/virtio_console_channel"]
vsock_channel = ["oak_restricted_kernel/vsock_channel"]
simple_io_channel = ["oak_restricted_kernel/simple_io_channel"]
serial_channel = ["oak_restricted_kernel/serial_channel"]
initrd = ["oak_restricted_kernel/initrd"]
[workspace]
resolver = "2"
members = ["."]
[dependencies]
log = "*"
oak_linux_boot_params = { path = "../linux_boot_params" }
oak_restricted_kernel = { path = "../oak_restricted_kernel", default-features = false }
[[bin]]
name = "oak_restricted_kernel_bin"
test = false
bench = false
required-features = ["virtio_console_channel"]
[[bin]]
path = "src/main.rs"
name = "oak_restricted_kernel_initrd_bin"
test = false
bench = false
required-features = ["initrd"]
[[bin]]
path = "src/main.rs"
name = "oak_restricted_kernel_simple_io_bin"
test = false
bench = false
required-features = ["simple_io_channel"]
[[bin]]
path = "src/main.rs"
name = "oak_restricted_kernel_simple_io_init_rd_bin"
test = false
bench = false
required-features = ["simple_io_channel", "initrd"]