[package] name = "cntr-nix" description = "Rust friendly bindings to *nix APIs (fork with features used in cntr)" version = "0.11.3-pre1" authors = ["Mic92"] repository = "https://github.com/Mic92/cntr-nix" license = "MIT" categories = ["os::unix-apis"] exclude = [ ".gitignore", ".travis.yml" ] [dependencies] libc = "0.2" bitflags = "1.0" cfg-if = "0.1.0" void = "1.0.2" [target.'cfg(target_os = "dragonfly")'.build-dependencies] cc = "1" [dev-dependencies] bytes = "0.4.8" lazy_static = "1" rand = "0.4" tempdir = "0.3" tempfile = "2" [target.'cfg(target_os = "freebsd")'.dev-dependencies] sysctl = "0.1" [[test]] name = "test" path = "test/test.rs" [[test]] name = "test-aio-drop" path = "test/sys/test_aio_drop.rs" [[test]] name = "test-lio-listio-resubmit" path = "test/sys/test_lio_listio_resubmit.rs" [[test]] name = "test-mount" path = "test/test_mount.rs" harness = false [[test]] name = "test-ptymaster-drop" path = "test/test_ptymaster_drop.rs" [lib] name = "nix" path = "src/lib.rs"