From 78655d6bef85b325cc056d01d0124009b9734a0c Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Mon, 23 May 2016 09:01:52 +0200 Subject: [PATCH] Add bit_field dependency --- Cargo.toml | 6 +++++- src/lib.rs | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index d0cb6f3c..a6358aa1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,10 +4,14 @@ name = "blog_os" version = "0.1.0" [dependencies] +bitflags = "0.7.0" once = "0.2.1" rlibc = "0.1.4" spin = "0.3.4" -bitflags = "0.7.0" + +[dependencies.bit-field] +git = "https://github.com/phil-opp/rust-bit-field.git" +optional = false [dependencies.hole_list_allocator] path = "libs/hole_list_allocator" diff --git a/src/lib.rs b/src/lib.rs index a0c75964..7b7fa9a9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -27,6 +27,8 @@ extern crate alloc; #[macro_use] extern crate collections; +extern crate bit_field; + #[macro_use] mod vga_buffer; mod memory;