crosvm/swap/Cargo.toml
Shintaro Kawamura 9f962de130 Reland "swap: add swap file"
origin:
https://chromium-review.googlesource.com/c/crosvm/crosvm/+/3930082

SwapFile saves the active pages in the memory region to a file.

design document: go/tanooki-phase1-dd

BUG=b:215093219
TEST=cargo test -p swap

Change-Id: Idce637ed069665e174b36c21a32afdad2f00fea1
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/4016143
Reviewed-by: David Stevens <stevensd@chromium.org>
Commit-Queue: Shin Kawamura <kawasin@google.com>
2022-11-14 06:14:07 +00:00

17 lines
288 B
TOML

[package]
name = "swap"
version = "0.1.0"
authors = ["The Chromium OS Authors"]
edition = "2021"
[dependencies]
base = { path = "../base" }
data_model = "*"
libc = "*"
tempfile = "*"
thiserror = "*"
userfaultfd = "0.5.0"
[patch.crates-io]
data_model = { path = "../common/data_model" }