• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[package]
2name        = "nix"
3description = "Rust friendly bindings to *nix APIs"
4edition     = "2018"
5version     = "0.20.0"
6authors     = ["The nix-rust Project Developers"]
7repository  = "https://github.com/nix-rust/nix"
8license     = "MIT"
9categories  = ["os::unix-apis"]
10exclude     = [
11  "/.gitignore",
12  "/.cirrus.yml",
13  "/ci/*",
14  "/Cross.toml",
15  "/RELEASE_PROCEDURE.md",
16  "/bors.toml"
17]
18
19[package.metadata.docs.rs]
20targets = [
21  "x86_64-unknown-linux-gnu",
22  "aarch64-linux-android",
23  "x86_64-apple-darwin",
24  "aarch64-apple-ios",
25  "x86_64-unknown-freebsd",
26  "x86_64-unknown-openbsd",
27  "x86_64-unknown-netbsd",
28  "x86_64-unknown-dragonfly",
29  "x86_64-fuchsia",
30  "x86_64-unknown-redox"
31]
32
33[dependencies]
34libc = { version = "0.2.82", features = [ "extra_traits" ] }
35bitflags = "1.1"
36cfg-if = "1.0"
37
38[target.'cfg(target_os = "dragonfly")'.build-dependencies]
39cc = "1"
40
41[dev-dependencies]
42bytes = "0.4.8"
43lazy_static = "1.2"
44rand = "0.6"
45tempfile = "3.0.5"
46semver = "0.9.0"
47
48[target.'cfg(any(target_os = "android", target_os = "linux"))'.dev-dependencies]
49caps = "0.5.1"
50
51[target.'cfg(target_os = "freebsd")'.dev-dependencies]
52sysctl = "0.1"
53
54[[test]]
55name = "test"
56path = "test/test.rs"
57
58[[test]]
59name = "test-aio-drop"
60path = "test/sys/test_aio_drop.rs"
61
62[[test]]
63name = "test-clearenv"
64path = "test/test_clearenv.rs"
65
66[[test]]
67name = "test-lio-listio-resubmit"
68path = "test/sys/test_lio_listio_resubmit.rs"
69
70[[test]]
71name = "test-mount"
72path = "test/test_mount.rs"
73harness = false
74
75[[test]]
76name = "test-ptymaster-drop"
77path = "test/test_ptymaster_drop.rs"
78