Debian Codegraph @

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