forked from HyperEnclave/hyperenclave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
45 lines (41 loc) · 1.1 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
[package]
name = "rust-hypervisor"
version = "0.1.0"
authors = ["Yuekai Jia <yuekai.jyk@antgroup.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
intel = ["libvmm/vmx"]
amd = ["libvmm/svm"]
stats = []
sme = ["amd"]
enclave_interrupt = []
epc48 = []
epc96 = []
epc144 = []
epc192 = []
epc240 = []
epc288 = []
epc336 = []
epc384 = []
[dependencies]
log = "0.4"
spin = "0.9.8"
bitflags = "1.2"
bit_field = "0.10"
numeric-enum-macro = "0.2"
buddy_system_allocator = "0.5"
libvmm = { path = "./crates/libvmm", default-features = false }
uart_16550 = { path = "./crates/uart_16550" }
lazy_static = { version = "1.4", features = ["spin_no_std"] }
bitmap-allocator = { git = "https://github.com/rcore-os/bitmap-allocator", rev = "03bd9909" }
sha2 = { version = "0.9.3", default-features = false, features = ["force-soft"] }
cty = "0.2.1"
cstr_core = "0.2.2"
yogcrypt = { path = "./crates/yogcrypt" }
static_assertions = "1.1.0"
memoffset = "0.8"
[target.'cfg(target_arch = "x86_64")'.dependencies]
x86 = "0.34"
x86_64 = "0.14"
raw-cpuid = "10.6"