blob: aa3d40c2be4cd67dd6fdf54d5e165509b3dd21c6 [file] [log] [blame]
[package]
name = "userfaultfd"
version = "0.7.0"
authors = ["The Wasmtime Project Developers"]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "Rust bindings for the Linux userfaultfd functionality"
repository = "https://github.com/bytecodealliance/userfaultfd-rs"
readme = "README.md"
[dependencies]
bitflags = "2.2.1"
cfg-if = "^1.0.0"
libc = "0.2.65"
nix = { version = "0.27", features = ["ioctl"] }
thiserror = "1.0.4"
userfaultfd-sys = { path = "userfaultfd-sys", version = "^0.5.0" }
[dev-dependencies]
nix = { version = "0.27", features = ["poll", "mman", "feature"] }
[features]
default = []
linux4_14 = ["userfaultfd-sys/linux4_14", "nix/process"]
linux5_7 = ["userfaultfd-sys/linux5_7"]