forked from intel/MigTD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
43 lines (36 loc) · 828 Bytes
/
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
[workspace]
members = [
"src/attestation",
"src/crypto",
"src/devices/pci",
"src/devices/virtio",
"src/devices/vsock",
"src/devices/virtio_serial",
"src/migtd",
"src/policy",
"tests/test-td-payload",
"tools/migtd-hash",
"tools/migtd-policy-generator",
"xtask",
]
default-members = [
"src/migtd",
]
exclude = [
"deps/td-shim",
"deps/rustls"
]
resolver = "2"
# the profile used for `cargo build`
[profile.dev]
panic = "abort" # disable stack unwinding on panic
opt-level = "z"
lto = true
strip = true
# the profile used for `cargo build --release`
[profile.release]
panic = "abort" # disable stack unwinding on panic
opt-level = "z"
lto = true
[patch.crates-io]
ring = { path = "deps/td-shim/library/ring" }