forked from hermit-os/uhyve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
91 lines (73 loc) · 2.15 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
83
84
85
86
87
88
89
90
91
[package]
name = "uhyve"
version = "0.0.27"
authors = ["Stefan Lankes <[email protected]>"]
license = "MIT/Apache-2.0"
keywords = ["hypervisor", "unikernel"]
repository = "https://github.com/hermitcore/uhyve"
categories = ["os"]
readme = "README.md"
edition = "2018"
description = """
A hypervisor for RustyHermit
"""
exclude = ["/img/*", "./benches/*", "./benches_data/*", "./.github/workflows", "bors.toml", ".gitlab-ci.yml", "Dockerfile", ".gitignore", ".gitmodules", ".gitattributes", "codecov.yml"]
[features]
default = []
instrument = ["rftrace", "rftrace-frontend"]
[lib]
name = "uhyvelib"
path = "src/lib.rs"
[[bin]]
name = "uhyve"
path = "src/bin/uhyve.rs"
[dependencies]
log = "0.4.14"
env_logger = "0.8.3"
aligned_alloc = "0.1.3"
lazy_static = "1.4.0"
clap = "2.33.3"
bitflags = "1.2.1"
libc = "0.2.88"
nix = "0.20.0"
virtio-bindings = { version = "0.1.0", features = ["virtio-v4_14_0"]}
mac_address = "1.1.1"
rustc-serialize = "0.3.24"
byteorder = "1.4.3"
nom = "3.2.1"
strum = "0.20.0"
strum_macros = "0.20.1"
gdb-protocol = "0.1.0"
burst = "0.0.2"
core_affinity = "0.5.10"
rftrace = {version = "0.1.0", optional = true}
rftrace-frontend = {version = "0.1.0", optional = true}
[dependencies.goblin]
version = "0.3.4"
default-features = false
features = ["elf64", "elf32", "endian_fd", "std"]
[target.'cfg(target_os = "macos")'.dependencies.xhypervisor]
version = "0.0.12"
[target.'cfg(target_os = "linux")'.dependencies.kvm-ioctls]
version = "0.8.0"
[target.'cfg(target_os = "linux")'.dependencies.kvm-bindings]
version = "0.4.0"
features = ["kvm-v5_12_0"]
[target.'cfg(target_os = "linux")'.dependencies.vmm-sys-util]
version = "0.8.0"
[target.'cfg(target_os = "linux")'.dependencies.tun-tap]
version = "0.1.2"
default-features = false
[target.'cfg(target_arch = "x86_64")'.dependencies.x86]
version = "0.37.0"
default-features = false
[target.'cfg(target_arch = "x86_64")'.dependencies.raw-cpuid]
version = "9.0.0"
[dev-dependencies]
criterion = "0.3.4"
[[bench]]
name = "benchmarks"
harness = false
[patch.crates-io]
kvm-bindings = { git = "https://github.com/simonschoening/kvm-bindings" }
kvm-ioctls = { git = "https://github.com/simonschoening/kvm-ioctls" }