summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2015-03-25 18:41:57 -0700
committerCarl Lerche <me@carllerche.com>2015-03-25 18:41:57 -0700
commitc252b4d534cb5713a9850ae44c26d07bdeeda5dc (patch)
tree81cf2f4b43144af252d822295ab07020cd0a06b4
parentbf3d7c49396e267b927a1523402435d07472032c (diff)
downloadnix-c252b4d534cb5713a9850ae44c26d07bdeeda5dc.zip
Use libc from crates.io
-rw-r--r--Cargo.toml3
-rw-r--r--src/lib.rs2
-rw-r--r--test/test.rs2
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;