-
Notifications
You must be signed in to change notification settings - Fork 76
/
Cargo.toml
52 lines (47 loc) · 1.62 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
[workspace]
resolver = "2"
default-members = [
"src/hyperlight_common",
"src/hyperlight_host",
"src/hyperlight_testing",
]
members = [
"src/hyperlight_common",
"src/hyperlight_guest",
"src/hyperlight_host",
"src/hyperlight_guest_capi",
"src/hyperlight_testing",
"src/hyperlight_host/fuzz",
]
# Because hyperlight-guest has custom linker flags,
# we exclude it from the default-members list
# to avoid cargo test failing on it.
# Same for the simpleguest and dummyguest tests below.
exclude = [
"src/tests/rust_guests/callbackguest",
"src/tests/rust_guests/dummyguest",
"src/tests/rust_guests/simpleguest",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
rust-version = "1.79.0"
license = "Apache-2.0"
homepage = "https://github.com/hyperlight-dev/hyperlight"
repository = "https://github.com/hyperlight-dev/hyperlight"
readme = "README.md"
[workspace.dependencies]
mshv-bindings = { version = "=0.2.1" }
mshv-ioctls = { version = "=0.2.1" }
hyperlight-common = { path = "src/hyperlight_common", version = "0.1.0", default-features = false }
hyperlight-host = { path = "src/hyperlight_host", version = "0.1.0", default-features = false }
hyperlight-guest = { path = "src/hyperlight_guest", version = "0.1.0", default-features = false }
hyperlight-testing = { path = "src/hyperlight_testing", default-features = false }
[workspace.lints.rust]
unsafe_op_in_unsafe_fn = "deny"
# this will generate symbols for release builds
# so is handy for debugging issues in release builds
# to use, run `cargo build --profile=release-with-debug`
[profile.release-with-debug]
inherits = "release"
debug = true