From b71188c952f0f4665d359a63c1d716d00fe752ab Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Thu, 15 Sep 2016 23:51:46 +0200 Subject: Upgrade dependencies, bump version --- codegen/Cargo.toml | 6 +++--- example/Cargo.toml | 2 +- example/src/main.rs | 4 +--- lib/Cargo.toml | 6 +++--- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index 3c12cb3..468366f 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -2,7 +2,7 @@ name = "includedir_codegen" description = "Include a whole directory tree at compile time! - Compile time part" keywords = ["include", "tree", "directory", "build", "static"] -version = "0.2.1" +version = "0.2.2" authors = ["Till Höppner "] license = "MIT" homepage = "https://github.com/tilpner/includedir" @@ -10,5 +10,5 @@ repository = "https://github.com/tilpner/includedir" [dependencies] walkdir = "0.1.5" -phf_codegen = "0.7.12" -flate2 = "0.2.13" +phf_codegen = "0.7.16" +flate2 = "0.2.14" diff --git a/example/Cargo.toml b/example/Cargo.toml index 3d3cbd5..ef12ec5 100644 --- a/example/Cargo.toml +++ b/example/Cargo.toml @@ -7,7 +7,7 @@ include = ["data", "data/*", "data/**"] publish = false [dependencies] -phf = "0.7.12" +phf = "0.7.16" # includedir = "0.2.0" includedir = { path = "../lib" } diff --git a/example/src/main.rs b/example/src/main.rs index e1a4931..5ee48f3 100644 --- a/example/src/main.rs +++ b/example/src/main.rs @@ -5,10 +5,8 @@ include!(concat!(env!("OUT_DIR"), "/data.rs")); fn main() { println!("{:?}", FILES.get("data/foo")); + for name in FILES.file_names() { println!("Found: {}", name); } - // for (k, v) in FILES.entries() { - // println!("{}: {} bytes", k, v.len()); - // } } diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 2dc55e6..305d39a 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -2,7 +2,7 @@ name = "includedir" description = "Include a whole directory tree at compile time! - Runtime part" keywords = ["include", "tree", "directory", "build", "static"] -version = "0.2.1" +version = "0.2.2" authors = ["Till Höppner "] license = "MIT" homepage = "https://github.com/tilpner/includedir" @@ -12,6 +12,6 @@ repository = "https://github.com/tilpner/includedir" default = ["flate2"] [dependencies] -phf = "0.7.12" +phf = "0.7.16" -flate2 = { version = "0.2.13", optional = true } +flate2 = { version = "0.2.14", optional = true } -- cgit v1.2.3