blob: 5081971a87a165cb5db09ddc1a1204dc8603caf8 [file] [log] [blame]
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
name = "vm-memory"
version = "0.12.2"
authors = ["Liu Jiang <gerry@linux.alibaba.com>"]
autobenches = false
description = "Safe abstractions for accessing the VM physical memory"
readme = "README.md"
keywords = ["memory"]
categories = ["memory-management"]
license = "Apache-2.0 OR BSD-3-Clause"
repository = "https://github.com/rust-vmm/vm-memory"
[package.metadata.docs.rs]
all-features = true
[profile.bench]
lto = true
codegen-units = 1
[[bench]]
name = "main"
harness = false
[dependencies.arc-swap]
version = "1.0.0"
optional = true
[dependencies.bitflags]
version = "1.0"
optional = true
[dependencies.libc]
version = "0.2.39"
[dependencies.thiserror]
version = "1.0.40"
[dependencies.vmm-sys-util]
version = "0.11.0"
optional = true
[dev-dependencies.criterion]
version = "0.3.0"
[dev-dependencies.matches]
version = "0.1.0"
[dev-dependencies.vmm-sys-util]
version = "0.11.0"
[features]
backend-atomic = ["arc-swap"]
backend-bitmap = []
backend-mmap = []
default = []
xen = [
"backend-mmap",
"bitflags",
"vmm-sys-util",
]
[target."cfg(windows)".dependencies.winapi]
version = "0.3"
features = [
"errhandlingapi",
"sysinfoapi",
]