-
Notifications
You must be signed in to change notification settings - Fork 84
/
Copy pathCargo.toml
55 lines (46 loc) · 1.65 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
[package]
name = "vmm"
version = "0.1.0"
authors = ["Amazon Firecracker team <[email protected]>"]
edition = "2021"
[features]
default = ["cca"]
tee = []
amd-sev = [ "blk", "tee", "codicon", "kbs-types", "procfs", "rdrand", "serde", "serde_json", "sev", "curl" ]
cca = []
net = []
blk = []
efi = [ "blk", "net" ]
gpu = []
snd = []
[dependencies]
crossbeam-channel = "0.5"
env_logger = "0.9.0"
libc = ">=0.2.39"
log = "0.4.0"
vm-memory = { version = ">=0.13", features = ["backend-mmap"] }
arch = { path = "../arch" }
devices = { path = "../devices" }
kernel = { path = "../kernel" }
utils = { path = "../utils"}
polly = { path = "../polly" }
# Dependencies for amd-sev
codicon = { version = "3.0.0", optional = true }
kbs-types = { version = "0.8.0", features = ["tee-sev", "tee-snp"], optional = true }
procfs = { version = "0.12", optional = true }
rdrand = { version = "^0.8", optional = true }
serde = { version = "1.0.125", optional = true }
serde_json = { version = "1.0.64", optional = true }
sev = { version = "4.0.0", features = ["openssl"], optional = true }
curl = { version = "0.4", optional = true }
nix = "0.24.1"
cca = { git = "https://github.com/virtee/cca" }
[target.'cfg(target_arch = "x86_64")'.dependencies]
cpuid = { path = "../cpuid" }
[target.'cfg(target_os = "linux")'.dependencies]
kvm-bindings = { version = ">=0.8", features = ["fam-wrappers"] , git = "https://github.com/virtee/kvm-bindings", branch = "add_bindings_for_realms" }
kvm-ioctls = { version = ">=0.17", git = "https://github.com/virtee/kvm-ioctls", branch = "cca" }
[target.'cfg(target_os = "macos")'.dependencies]
hvf = { path = "../hvf" }
[dev-dependencies]
vmm-sys-util = ">=0.11"