From 27cd0c9f5078f7c8b303ad291080456ec5e0ea54 Mon Sep 17 00:00:00 2001 From: Ben S Date: Wed, 4 Feb 2015 01:22:02 +0000 Subject: [PATCH] Tiny fixes for latest Rust --- Cargo.toml | 5 ++++- src/lib.rs | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index bf166a8..7402326 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,4 +8,7 @@ documentation = "http://bsago.me/doc/users/" homepage = "https://github.com/ogham/rust-users" license = "MIT" readme = "README.md" -version = "0.2.2" +version = "0.2.3" + +[dependencies] +libc = "0.1.1" \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index ba0552c..925d5ad 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,7 +1,8 @@ #![crate_name = "users"] #![crate_type = "rlib"] #![crate_type = "dylib"] -#![feature(collections, core, libc, std_misc)] +#![allow(unused_features)] +#![feature(core, libc, std_misc)] //! This is a library for getting information on Unix users and groups. //!