From e215c9f8bff4e049ebce94d3c5620f8ec03ed832 Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Tue, 16 Feb 2016 19:06:31 +0100 Subject: Initial commit. --- examples/foo/src/main.rs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 examples/foo/src/main.rs (limited to 'examples/foo/src/main.rs') diff --git a/examples/foo/src/main.rs b/examples/foo/src/main.rs new file mode 100644 index 0000000..8270aec --- /dev/null +++ b/examples/foo/src/main.rs @@ -0,0 +1,9 @@ +extern crate phf; + +include!(concat!(env!("OUT_DIR"), "/dir_data.rs")); + +fn main() { + for (k, v) in FILES.entries() { + println!("{}: {} bytes", k, v.len()); + } +} -- cgit v1.2.3