From 7ae712984c6557887cd5db07829f0a340196a0b9 Mon Sep 17 00:00:00 2001 From: Flavio Percoco Date: Mon, 19 Jan 2015 00:20:12 +0100 Subject: [PATCH] Add a new dependency to bitflags As per commit 34fa70fba5425cbbb96bce783e9fd5c23dd9b471, the `bitfalgs` macro has been moved to its own crate. --- Cargo.toml | 3 +++ src/lib.rs | 2 ++ 2 files changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 98968ba58e..809230dcab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,3 +7,6 @@ authors = ["Carl Lerche "] homepage = "https://github.com/carllerche/nix-rust" license = "MIT" exclude = [".gitignore", ".travis.yml", "tests/**/*"] + +[dependencies] +bitflags = "0.1" diff --git a/src/lib.rs b/src/lib.rs index 201c550e23..e52fc0b890 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,6 +4,8 @@ #![allow(unstable)] #![allow(non_camel_case_types)] +#[macro_use] extern crate bitflags; + extern crate libc; extern crate core;