| # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| # |
| # When uploading crates to the registry Cargo will automatically |
| # "normalize" Cargo.toml files for maximal compatibility |
| # with all versions of Cargo and also rewrite `path` dependencies |
| # to registry (e.g., crates.io) dependencies. |
| # |
| # If you are reading this file be aware that the original Cargo.toml |
| # will likely look very different (and much more reasonable). |
| # See Cargo.toml.orig for the original contents. |
| |
| [package] |
| edition = "2018" |
| name = "userfaultfd" |
| version = "0.7.0" |
| authors = ["The Wasmtime Project Developers"] |
| description = "Rust bindings for the Linux userfaultfd functionality" |
| readme = "README.md" |
| license = "MIT OR Apache-2.0" |
| repository = "https://github.com/bytecodealliance/userfaultfd-rs" |
| |
| [dependencies.bitflags] |
| version = "2.2.1" |
| |
| [dependencies.cfg-if] |
| version = "^1.0.0" |
| |
| [dependencies.libc] |
| version = "0.2.65" |
| |
| [dependencies.nix] |
| version = "0.27" |
| features = ["ioctl"] |
| |
| [dependencies.thiserror] |
| version = "1.0.4" |
| |
| [dependencies.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"] |