forked from rust-vmm/vm-memory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
38 lines (32 loc) · 795 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
37
38
[package]
name = "vm-memory"
version = "0.5.0"
description = "Safe abstractions for accessing the VM physical memory"
keywords = ["memory"]
authors = ["Liu Jiang <[email protected]>"]
repository = "https://github.com/rust-vmm/vm-memory"
readme = "README.md"
license = "Apache-2.0 OR BSD-3-Clause"
edition = "2018"
autobenches = false
[features]
default = []
backend-bitmap = []
backend-mmap = []
backend-atomic = ["arc-swap"]
[dependencies]
libc = ">=0.2.39"
arc-swap = { version = ">=1.0.0", optional = true }
[target.'cfg(windows)'.dependencies.winapi]
version = ">=0.3"
features = ["errhandlingapi", "sysinfoapi"]
[dev-dependencies]
criterion = "0.3.0"
matches = ">=0"
vmm-sys-util = ">= 0.4.0"
[[bench]]
name = "main"
harness = false
[profile.bench]
lto = true
codegen-units = 1