-
Notifications
You must be signed in to change notification settings - Fork 55
/
Cargo.toml
44 lines (37 loc) · 1.04 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
[package]
name = "linux-loader"
version = "0.13.0"
authors = [
"The rust-vmm maintainers",
"rust-vmm AWS maintainers <[email protected]>",
"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
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = ["elf", "pe"]
bzimage = []
elf = []
pe = []
[dependencies]
vm-memory = "0.16.0"
[dev-dependencies]
criterion = { version = "0.5.1", features = ["html_reports"] }
vm-memory = { version = "0.16.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