1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO 2# 3# When uploading crates to the registry Cargo will automatically 4# "normalize" Cargo.toml files for maximal compatibility 5# with all versions of Cargo and also rewrite `path` dependencies 6# to registry (e.g., crates.io) dependencies. 7# 8# If you are reading this file be aware that the original Cargo.toml 9# will likely look very different (and much more reasonable). 10# See Cargo.toml.orig for the original contents. 11 12[package] 13edition = "2021" 14name = "vm-memory" 15version = "0.12.2" 16authors = ["Liu Jiang <[email protected]>"] 17autobenches = false 18description = "Safe abstractions for accessing the VM physical memory" 19readme = "README.md" 20keywords = ["memory"] 21categories = ["memory-management"] 22license = "Apache-2.0 OR BSD-3-Clause" 23repository = "https://github.com/rust-vmm/vm-memory" 24 25[package.metadata.docs.rs] 26all-features = true 27 28[profile.bench] 29lto = true 30codegen-units = 1 31 32[[bench]] 33name = "main" 34harness = false 35 36[dependencies.arc-swap] 37version = "1.0.0" 38optional = true 39 40[dependencies.bitflags] 41version = "1.0" 42optional = true 43 44[dependencies.libc] 45version = "0.2.39" 46 47[dependencies.thiserror] 48version = "1.0.40" 49 50[dependencies.vmm-sys-util] 51version = "0.11.0" 52optional = true 53 54[dev-dependencies.criterion] 55version = "0.3.0" 56 57[dev-dependencies.matches] 58version = "0.1.0" 59 60[dev-dependencies.vmm-sys-util] 61version = "0.11.0" 62 63[features] 64backend-atomic = ["arc-swap"] 65backend-bitmap = [] 66backend-mmap = [] 67default = [] 68xen = [ 69 "backend-mmap", 70 "bitflags", 71 "vmm-sys-util", 72] 73 74[target."cfg(windows)".dependencies.winapi] 75version = "0.3" 76features = [ 77 "errhandlingapi", 78 "sysinfoapi", 79] 80