Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## \[v0.17.2\]

This release re-packages the code of vm-memory 0.18.0 while preserving
API compatibility with 0.17.1. All the actual implementation comes from
version 0.18.0, which this crate re-exports with `GuestMemoryBackend`
changed back to `GuestMemory`.

## \[v0.17.1\]

No visible changes.
Expand Down
31 changes: 10 additions & 21 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vm-memory"
version = "0.17.1"
version = "0.17.2"
description = "Safe abstractions for accessing the VM physical memory"
keywords = ["memory"]
categories = ["memory-management"]
Expand All @@ -13,23 +13,16 @@ autobenches = false

[features]
default = ["rawfd"]
backend-bitmap = ["dep:libc", "dep:winapi"]
backend-mmap = ["dep:libc", "dep:winapi"]
backend-atomic = ["arc-swap"]
rawfd = ["dep:libc"]
xen = ["backend-mmap", "bitflags", "vmm-sys-util"]
backend-bitmap = ["vm-memory-new/backend-bitmap"]
backend-mmap = ["vm-memory-new/backend-mmap"]
backend-atomic = ["vm-memory-new/backend-atomic"]
rawfd = ["vm-memory-new/rawfd"]
xen = ["vm-memory-new/xen"]

[dependencies]
libc = { version = "0.2.39", optional = true }
arc-swap = { version = "1.0.0", optional = true }
bitflags = { version = "2.4.0", optional = true }
thiserror = "2.0.16"
vmm-sys-util = { version = ">=0.12.1, <=0.15.0", optional = true }

[target.'cfg(target_family = "windows")'.dependencies.winapi]
version = "0.3"
features = ["errhandlingapi", "sysinfoapi"]
optional = true
[dependencies.vm-memory-new]
package = "vm-memory"
version = "0.18.0"
default-features = false

[dev-dependencies]
criterion = "0.7.0"
Expand All @@ -40,10 +33,6 @@ vmm-sys-util = "0.15.0"
name = "main"
harness = false

[profile.bench]
lto = true
codegen-units = 1

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
Expand Down
Loading