diff options
author | Till Höppner | 2016-09-15 23:51:46 +0200 |
---|---|---|
committer | Till Höppner | 2016-09-15 23:51:46 +0200 |
commit | b71188c952f0f4665d359a63c1d716d00fe752ab (patch) | |
tree | 81a7097b947b2aea742fba41b66e663932387772 /example | |
parent | e2aef9aa74302fb9b977a9c3f044d3dd4b680dec (diff) | |
download | includedir-b71188c952f0f4665d359a63c1d716d00fe752ab.tar.gz includedir-b71188c952f0f4665d359a63c1d716d00fe752ab.tar.xz includedir-b71188c952f0f4665d359a63c1d716d00fe752ab.zip |
Upgrade dependencies, bump versionv0.2.2
Diffstat (limited to 'example')
-rw-r--r-- | example/Cargo.toml | 2 | ||||
-rw-r--r-- | example/src/main.rs | 4 |
2 files changed, 2 insertions, 4 deletions
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()); - // } } |