Cargo.toml 1.73 KB
Newer Older
1
[package]
2
name = "uhyve"
Stefan Lankes's avatar
Stefan Lankes committed
3
version = "0.0.28"
4
authors = ["Stefan Lankes <slankes@eonerc.rwth-aachen>"]
5
6
7
edition = "2018"
description = "A hypervisor for RustyHermit."
repository = "https://github.com/hermitcore/uhyve"
8
license = "MIT/Apache-2.0"
Stefan Lankes's avatar
Stefan Lankes committed
9
10
keywords = ["hypervisor", "unikernel"]
categories = ["os"]
11
12
13
14
15
16
17
18
19
20
21
22
23
exclude = [
    "/.github/",
    "/img/",
    "/benches/",
    "/benches_data/",
    "/.gitattributes",
    "/.gitignore",
    "/.gitlab-ci.yml",
    "/.gitmodules",
    "/bors.toml",
    "/codecov.yml",
    "/Dockerfile",
]
Stefan Lankes's avatar
Stefan Lankes committed
24

25
26
[lib]
name = "uhyvelib"
27

28
29
30
[[bench]]
name = "benchmarks"
harness = false
Stefan Lankes's avatar
Stefan Lankes committed
31

32
33
34
35
[features]
default = []
instrument = ["rftrace", "rftrace-frontend"]

36
37
38
[patch.crates-io]
nix = { git = "https://github.com/nix-rust/nix" }

39
[dependencies]
40
bitflags = "1.3"
41
byteorder = "1.4"
Martin Kröning's avatar
Martin Kröning committed
42
byte-unit = "4.0"
43
44
clap = "2.33"
core_affinity = "0.5"
Martin Kröning's avatar
Martin Kröning committed
45
either = "1.6"
46
env_logger = "0.9"
Martin Kröning's avatar
Martin Kröning committed
47
envmnt = "0.9"
48
49
50
51
52
53
gdb-protocol = "0.1"
goblin = { version = "0.4", default-features = false, features = ["elf64", "elf32", "endian_fd", "std"] }
lazy_static = "1.4"
libc = "0.2"
log = "0.4"
nom = "3.2"
54
raw-cpuid = "10.2"
55
56
57
rustc-serialize = "0.3"
strum = "0.21"
strum_macros = "0.21"
58
thiserror = "1.0"
59

60
61
rftrace = { version = "0.1", optional = true }
rftrace-frontend = { version = "0.1", optional = true }
62

63
64
65
66
[target.'cfg(target_os = "linux")'.dependencies]
kvm-bindings = "0.4"
kvm-ioctls = "0.9"
mac_address = "1.1"
67
nix = "0.22"
68
69
70
tun-tap = { version = "0.1", default-features = false }
virtio-bindings = { version = "0.1", features = ["virtio-v4_14_0"] }
vmm-sys-util = "0.8"
Stefan Lankes's avatar
Stefan Lankes committed
71

72
73
74
[target.'cfg(target_os = "macos")'.dependencies]
burst = "0.0"
xhypervisor = "0.0"
Stefan Lankes's avatar
Stefan Lankes committed
75

76
[target.'cfg(target_arch = "x86_64")'.dependencies]
77
x86 = { version = "0.41", default-features = false }
78
79

[dev-dependencies]
80
criterion = "0.3"