• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2018"
14name = "userfaultfd"
15version = "0.8.1"
16authors = ["The Wasmtime Project Developers"]
17description = "Rust bindings for the Linux userfaultfd functionality"
18readme = "README.md"
19license = "MIT OR Apache-2.0"
20repository = "https://github.com/bytecodealliance/userfaultfd-rs"
21
22[dependencies.bitflags]
23version = "2.4.0"
24
25[dependencies.cfg-if]
26version = "^1.0.0"
27
28[dependencies.libc]
29version = "0.2.65"
30
31[dependencies.nix]
32version = "0.27"
33features = ["ioctl"]
34
35[dependencies.thiserror]
36version = "1.0.4"
37
38[dependencies.userfaultfd-sys]
39version = "^0.5.0"
40
41[dev-dependencies.nix]
42version = "0.27"
43features = [
44    "poll",
45    "mman",
46    "feature",
47]
48
49[features]
50default = []
51linux4_14 = [
52    "userfaultfd-sys/linux4_14",
53    "nix/process",
54]
55linux5_7 = ["userfaultfd-sys/linux5_7"]
56