From c252b4d534cb5713a9850ae44c26d07bdeeda5dc Mon Sep 17 00:00:00 2001 From: Carl Lerche Date: Wed, 25 Mar 2015 18:41:57 -0700 Subject: Use libc from crates.io --- Cargo.toml | 3 ++- src/lib.rs | 2 +- test/test.rs | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e21d7919..80cfe28a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,8 @@ exclude = [ ] [dependencies] -bitflags = "0.1" +libc = "0.1.3" +bitflags = "0.1.1" [dev-dependencies] rand = "0.3.0" diff --git a/src/lib.rs b/src/lib.rs index 07c2e1b1..d3847fa2 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,7 @@ //! defined in. #![crate_name = "nix"] -#![feature(collections, core, io_ext, linkage, libc, std_misc)] +#![feature(collections, core, io_ext, linkage, std_misc)] #![allow(non_camel_case_types)] #[macro_use] diff --git a/test/test.rs b/test/test.rs index 7ded196a..7e30fb19 100644 --- a/test/test.rs +++ b/test/test.rs @@ -1,4 +1,4 @@ -#![feature(convert, io_ext, libc)] +#![feature(convert, io_ext)] extern crate nix; extern crate libc; -- cgit v1.2.3