forked from rust-vmm/linux-loader
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
36 lines (30 loc) · 829 Bytes
/
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
[package]
name = "linux-loader"
version = "0.8.0"
authors = ["Cathy Zhang <[email protected]>"]
edition = "2021"
license = "Apache-2.0 AND BSD-3-Clause"
description = "A Linux kernel image loading crate."
keywords = ["kernel"]
repository = "https://github.com/rust-vmm/linux-loader"
homepage = "https://github.com/rust-vmm/linux-loader"
readme = "README.md"
autobenches = false
[features]
default = ["elf", "pe"]
bzimage = []
elf = []
pe = []
[dependencies]
vm-memory = "0.10.0"
[dev-dependencies]
criterion = "0.3.5"
vm-memory = { version = "0.10.0", features = ["backend-mmap"] }
[[bench]]
name = "main"
harness = false
[lib]
bench = false # https://bheisler.github.io/criterion.rs/book/faq.html#cargo-bench-gives-unrecognized-option-errors-for-valid-command-line-options
[profile.bench]
lto = true
codegen-units = 1