-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathCargo.toml
61 lines (55 loc) · 1.16 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
[package]
name = "r2vm"
version = "0.1.0"
authors = ["Gary Guo <[email protected]>"]
edition = "2018"
[workspace]
members = [
"lib/p9",
"lib/x86",
"lib/riscv",
"lib/fdt",
"lib/usernet",
"lib/fiber",
"lib/ro_cell",
"lib/io",
]
[build-dependencies]
cc = "1.0"
[dependencies]
log = "0.4"
pretty_env_logger = "0.5"
libc = "0.2"
rand = "0.8"
rand_chacha = "0.3"
byteorder = "1.3"
serde = { version = "1.0", features = ["derive"] }
toml = "0.7"
eui48 = { version = "1.1", default-features = false }
lock_api = "0.4"
parking_lot = "0.12"
futures = "0.3"
once_cell = "1.3"
memoffset = "0.9"
softfp = { version = "0.1", default-features = false }
p9 = { path = "lib/p9" }
x86 = { path = "lib/x86" }
riscv = { path = "lib/riscv" }
fdt = { path = "lib/fdt" }
fiber = { path = "lib/fiber" }
ro_cell = { path = "lib/ro_cell" }
io = { path = "lib/io", features = ["serde"] }
clap = { version = "4.3", features = ["derive", "deprecated"] }
[profile.dev]
opt-level = "z"
panic = "abort"
[profile.release]
panic = "abort"
debug = true
[features]
default = ["usernet", "float", "simcsr"]
usernet = ["io/network-usernet"]
float = []
direct = []
sanitize = []
simcsr = []