• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name = "vm-memory"
3version = "0.12.2"
4description = "Safe abstractions for accessing the VM physical memory"
5keywords = ["memory"]
6categories = ["memory-management"]
7authors = ["Liu Jiang <gerry@linux.alibaba.com>"]
8repository = "https://github.com/rust-vmm/vm-memory"
9readme = "README.md"
10license = "Apache-2.0 OR BSD-3-Clause"
11edition = "2021"
12autobenches = false
13
14[features]
15default = []
16backend-bitmap = []
17backend-mmap = []
18backend-atomic = ["arc-swap"]
19xen = ["backend-mmap", "bitflags", "vmm-sys-util"]
20
21[dependencies]
22libc = "0.2.39"
23arc-swap = { version = "1.0.0", optional = true }
24bitflags = { version = "1.0", optional = true }
25thiserror = "1.0.40"
26vmm-sys-util = { version = "0.11.0", optional = true }
27
28[target.'cfg(windows)'.dependencies.winapi]
29version = "0.3"
30features = ["errhandlingapi", "sysinfoapi"]
31
32[dev-dependencies]
33criterion = "0.3.0"
34matches = "0.1.0"
35vmm-sys-util = "0.11.0"
36
37[[bench]]
38name = "main"
39harness = false
40
41[profile.bench]
42lto = true
43codegen-units = 1
44
45[package.metadata.docs.rs]
46all-features = true
47