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