Debian Codegraph @

third_party/rust/nix/Cargo.toml

raw
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]
13 edition = "2021"
14 rust-version = "1.69"
15 name = "nix"
16 version = "0.30.1"
17 authors = ["The nix-rust Project Developers"]
18 build = "build.rs"
19 include = [
20 "build.rs",
21 "src/**/*",
22 "test/**/*",
23 "LICENSE",
24 "README.md",
25 "CHANGELOG.md",
26 ]
27 autolib = false
28 autobins = false
29 autoexamples = false
30 autotests = false
31 autobenches = false
32 description = "Rust friendly bindings to *nix APIs"
33 readme = "README.md"
34 categories = ["os::unix-apis"]
35 license = "MIT"
36 repository = "https://github.com/nix-rust/nix"
37
38 [package.metadata.docs.rs]
39 all-features = true
40 rustdoc-args = [
41 "--cfg",
42 "docsrs",
43 ]
44 targets = [
45 "x86_64-unknown-linux-gnu",
46 "aarch64-linux-android",
47 "x86_64-apple-darwin",
48 "aarch64-apple-ios",
49 "x86_64-unknown-freebsd",
50 "x86_64-unknown-openbsd",
51 "x86_64-unknown-netbsd",
52 "x86_64-unknown-dragonfly",
53 "x86_64-unknown-fuchsia",
54 "x86_64-unknown-redox",
55 "x86_64-unknown-illumos",
56 ]
57
58 [features]
59 acct = []
60 aio = ["pin-utils"]
61 default = []
62 dir = ["fs"]
63 env = []
64 event = ["poll"]
65 fanotify = []
66 feature = []
67 fs = []
68 hostname = []
69 inotify = []
70 ioctl = []
71 kmod = []
72 mman = []
73 mount = ["uio"]
74 mqueue = ["fs"]
75 net = ["socket"]
76 personality = []
77 poll = []
78 process = []
79 pthread = []
80 ptrace = ["process"]
81 quota = []
82 reboot = []
83 resource = []
84 sched = ["process"]
85 signal = ["process"]
86 socket = ["memoffset"]
87 syslog = []
88 term = []
89 time = []
90 ucontext = ["signal"]
91 uio = []
92 user = ["feature"]
93 zerocopy = [
94 "fs",
95 "uio",
96 ]
97
98 [lib]
99 name = "nix"
100 path = "src/lib.rs"
101
102 [[test]]
103 name = "test"
104 path = "test/test.rs"
105
106 [[test]]
107 name = "test-aio-drop"
108 path = "test/sys/test_aio_drop.rs"
109
110 [[test]]
111 name = "test-clearenv"
112 path = "test/test_clearenv.rs"
113
114 [[test]]
115 name = "test-prctl"
116 path = "test/sys/test_prctl.rs"
117
118 [dependencies.bitflags]
119 version = "2.3.3"
120
121 [dependencies.cfg-if]
122 version = "1.0"
123
124 [dependencies.libc]
125 version = "0.2.171"
126 features = ["extra_traits"]
127
128 [dependencies.memoffset]
129 version = "0.9"
130 optional = true
131
132 [dependencies.pin-utils]
133 version = "0.1.0"
134 optional = true
135
136 [dev-dependencies.assert-impl]
137 version = "0.1"
138
139 [dev-dependencies.parking_lot]
140 version = "0.12"
141
142 [dev-dependencies.rand]
143 version = "0.9"
144
145 [dev-dependencies.semver]
146 version = "1.0.7"
147
148 [dev-dependencies.tempfile]
149 version = "3.7.1"
150
151 [build-dependencies.cfg_aliases]
152 version = "0.2.1"
153
154 [target.'cfg(any(target_os = "android", target_os = "linux"))'.dev-dependencies.caps]
155 version = "0.5.3"
156
157 [target.'cfg(target_os = "freebsd")'.dev-dependencies.sysctl]
158 version = "0.4"