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