-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathCargo.toml
More file actions
106 lines (96 loc) · 2.83 KB
/
Cargo.toml
File metadata and controls
106 lines (96 loc) · 2.83 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
[workspace]
exclude = ["tests/test-kernels", "hermit-rs", "hermit-rs/*", "kernel"]
[package]
name = "uhyve"
version = "0.8.0"
authors = ["The Hermit Project Developers"]
edition = "2024"
description = "A specialized hypervisor for Hermit"
repository = "https://github.com/hermit-os/uhyve"
license = "MIT OR Apache-2.0"
keywords = ["hypervisor", "unikernel"]
categories = ["os"]
exclude = [
"/.github/",
"/img/",
"/benches/",
"/data",
"/.gitattributes",
"/.gitignore",
"/.gitmodules",
"/codecov.yml",
"/tests"
]
[lib]
name = "uhyvelib"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[features]
instrument = ["dep:rftrace", "dep:rftrace-frontend"]
[dependencies]
align-address = "0.4"
async-io = "2.6"
byte-unit = { version = "5", features = ["byte", "serde"] }
clap = { version = "4.6", features = ["derive", "env"] }
clean-path = "0.2.1"
core_affinity = "0.8"
env_logger = "0.11"
flate2 = "1.1"
gdbstub = "0.7"
gdbstub_arch = "0.3"
hermit-abi = "0.5"
hermit-entry = { version = "0.10.10", features = ["loader"] }
libc = "0.2"
log = "0.4"
mac_address = "1.1"
merge = "0.2"
nix = { version = "0.31", features = ["mman", "pthread", "signal", "net", "ioctl", "poll"] }
nohash = "0.2"
rftrace = { version = "0.3", optional = true }
rftrace-frontend = { version = "0.3", optional = true }
rand = "0.10"
serde = { version = "1.0", features = ["derive"] }
shell-words = "1"
sysinfo = { version = "0.38.4", default-features = false, features = ["system"] }
tempfile = "3.27"
thiserror = "2.0.18"
time = "0.3"
toml = "1"
uhyve-interface = { version = "0.2.0", path = "uhyve-interface", features = ["std"] }
virtio-bindings = "~0.2.7"
vm-fdt = "0.3"
vm-memory = { version = "0.18", features = ["backend-mmap"] }
uuid = { version = "1.23.1", features = ["fast-rng", "v4"]}
tar-no-std = { version = "0.4", features = ["alloc"] }
async-channel = "2.5.0"
futures-lite = "2.6.1"
event-listener = "5.4.1"
bitflags = "2.11"
virtio-queue = "0.17"
zerocopy = { version = "0.8", features = ["derive"] }
[target.'cfg(target_os = "linux")'.dependencies]
kvm-bindings = "0.14"
kvm-ioctls = "0.24"
landlock = "0.4.4"
mac_address = "1.1"
tun-tap = { version = "0.1", default-features = false }
vmm-sys-util = "0.15"
[target.'cfg(target_os = "macos")'.dependencies]
xhypervisor = { version = "0.3.0", features = ["macos_15_0_0"] }
[target.'cfg(target_arch = "x86_64")'.dependencies]
x86_64 = { version = "0.15", default-features = false }
raw-cpuid = "11"
memory_addresses = { version = "0.4", default-features = false, features = [
"conversions",
"x86_64",
] }
[target.'cfg(target_arch = "aarch64")'.dependencies]
memory_addresses = { version = "0.4", default-features = false, features = [
"aarch64",
] }
[dev-dependencies]
criterion = "0.8"
home = "0.5"
regex = { version = "1.12.3", default-features = false, features = ["unicode-perl"] }