-
Notifications
You must be signed in to change notification settings - Fork 102
/
Cargo.toml
47 lines (40 loc) · 1.06 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
[package]
name = "vm-memory"
version = "0.16.1"
description = "Safe abstractions for accessing the VM physical memory"
keywords = ["memory"]
categories = ["memory-management"]
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 = "2021"
autobenches = false
[features]
default = []
backend-bitmap = []
backend-mmap = []
backend-atomic = ["arc-swap"]
xen = ["backend-mmap", "bitflags", "vmm-sys-util"]
[dependencies]
libc = "0.2.39"
arc-swap = { version = "1.0.0", optional = true }
bitflags = { version = "2.4.0", optional = true }
thiserror = "1.0.40"
vmm-sys-util = { version = "0.12.1", optional = true }
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3"
features = ["errhandlingapi", "sysinfoapi"]
[dev-dependencies]
criterion = "0.5.0"
matches = "0.1.0"
vmm-sys-util = "0.12.1"
[[bench]]
name = "main"
harness = false
[profile.bench]
lto = true
codegen-units = 1
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]