forked from hermit-os/uhyve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
82 lines (72 loc) · 2.04 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
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
[workspace]
exclude = ["tests/test-kernels", "hermit-rs", "hermit-rs/*", "kernel"]
[package]
name = "uhyve"
version = "0.3.0"
authors = [
"Stefan Lankes <[email protected]>",
"Martin Kröning <[email protected]>",
"Jens Breitbart <[email protected]>",
"Jonathan Klimt <[email protected]>",
]
edition = "2021"
description = "A minimal hypervisor for Hermit"
repository = "https://github.com/hermitcore/uhyve"
license = "MIT OR Apache-2.0"
keywords = ["hypervisor", "unikernel"]
categories = ["os"]
exclude = [
"/.github/",
"/img/",
"/benches/",
"/data",
"/.gitattributes",
"/.gitignore",
"/.gitmodules",
"/codecov.yml",
]
[lib]
name = "uhyvelib"
[[bench]]
name = "benchmarks"
path = "benches/benchmarks.rs"
harness = false
[features]
default = []
instrument = ["rftrace", "rftrace-frontend"]
[dependencies]
byte-unit = { version = "5", features = ["byte"] }
clap = { version = "4.5", features = ["derive", "env"] }
nix = { version = "0.29", features = ["mman", "pthread", "signal"] }
core_affinity = "0.8"
either = "1.13"
env_logger = "0.11"
gdbstub = "0.7"
gdbstub_arch = "0.3"
hermit-entry = { version = "0.10", features = ["loader"] }
lazy_static = "1.5"
libc = "0.2"
log = "0.4"
mac_address = "1.1"
thiserror = "1.0"
time = "0.3"
tun-tap = { version = "0.1.3", default-features = false }
uhyve-interface = { version = "0.1.1", path = "uhyve-interface", features = ["std"] }
virtio-bindings = { version = "0.2", features = ["virtio-v4_14_0"] }
rftrace = { version = "0.1", optional = true }
rftrace-frontend = { version = "0.1", optional = true }
[target.'cfg(target_os = "linux")'.dependencies]
kvm-bindings = "0.8"
kvm-ioctls = "0.17"
vmm-sys-util = "0.12"
[target.'cfg(target_os = "macos")'.dependencies]
burst = "0.0"
xhypervisor = "0.2"
[target.'cfg(target_arch = "x86_64")'.dependencies]
x86_64 = { version = "0.15", default-features = false }
raw-cpuid = "11"
[target.'cfg(target_arch = "aarch64")'.dependencies]
bitflags = "2.6"
[dev-dependencies]
assert_fs = "1"
criterion = "0.5"