-
Notifications
You must be signed in to change notification settings - Fork 161
Expand file tree
/
Copy pathCargo.toml
More file actions
57 lines (53 loc) · 2.16 KB
/
Cargo.toml
File metadata and controls
57 lines (53 loc) · 2.16 KB
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
[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_guest_tracing",
"src/hyperlight_testing",
"fuzz",
"src/hyperlight_guest_bin",
"src/hyperlight_guest_macro",
"src/hyperlight_component_util",
"src/hyperlight_component_macro",
"src/trace_dump",
]
# Guests have custom linker flags, so we need to exclude them from the workspace
exclude = [
"src/tests/rust_guests/dummyguest",
"src/tests/rust_guests/simpleguest",
"src/tests/rust_guests/witguest",
]
[workspace.package]
version = "0.12.0"
edition = "2024"
rust-version = "1.89"
license = "Apache-2.0"
homepage = "https://github.com/hyperlight-dev/hyperlight"
repository = "https://github.com/hyperlight-dev/hyperlight"
readme = "README.md"
[workspace.dependencies]
hyperlight-common = { path = "src/hyperlight_common", version = "0.12.0", default-features = false }
hyperlight-host = { path = "src/hyperlight_host", version = "0.12.0", default-features = false }
hyperlight-guest = { path = "src/hyperlight_guest", version = "0.12.0", default-features = false }
hyperlight-guest-bin = { path = "src/hyperlight_guest_bin", version = "0.12.0", default-features = false }
hyperlight-guest-macro = { path = "src/hyperlight_guest_macro", version = "0.12.0", default-features = false }
hyperlight-testing = { path = "src/hyperlight_testing", default-features = false }
hyperlight-guest-tracing = { path = "src/hyperlight_guest_tracing", version = "0.12.0", default-features = false }
hyperlight-component-util = { path = "src/hyperlight_component_util", version = "0.12.0", default-features = false }
hyperlight-component-macro = { path = "src/hyperlight_component_macro", version = "0.12.0", 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