1[package] 2name = "swap" 3version = "0.1.0" 4authors = ["The ChromiumOS Authors"] 5edition = "2021" 6 7# The process tests will use fork, which requires a custom test harness to enforce single threaded 8# execution. 9[[test]] 10name = "main" 11path = "tests/main.rs" 12harness = false 13 14 15[features] 16trace_marker = ["cros_tracing/trace_marker"] 17log_page_fault = [] 18 19[target.'cfg(unix)'.dependencies] 20anyhow = "*" 21base = { path = "../base" } 22cros_tracing = { path = "../cros_tracing" } 23data_model = { path = "../common/data_model" } 24jail = { path = "../jail"} 25libc = "*" 26num_cpus = "*" 27once_cell = "*" 28remain = "*" 29serde = { version = "1", features = [ "derive" ] } 30serde_json = "*" 31sync = { path = "../common/sync" } # provided by ebuild 32tempfile = "*" 33thiserror = "*" 34userfaultfd-sys = "0.4.2" 35userfaultfd = "0.5.0" 36vm_memory = { path = "../vm_memory"} 37 38[dev_dependencies] 39libtest-mimic = "0.6" 40