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