diff options
author | Till Höppner | 2016-02-16 19:06:31 +0100 |
---|---|---|
committer | Till Höppner | 2016-02-16 19:06:31 +0100 |
commit | e215c9f8bff4e049ebce94d3c5620f8ec03ed832 (patch) | |
tree | 672ff1091888a96b956da6f4b696b15ac805ff79 /examples/foo/src/main.rs | |
download | includedir-e215c9f8bff4e049ebce94d3c5620f8ec03ed832.tar.gz includedir-e215c9f8bff4e049ebce94d3c5620f8ec03ed832.tar.xz includedir-e215c9f8bff4e049ebce94d3c5620f8ec03ed832.zip |
Initial commit.
Diffstat (limited to 'examples/foo/src/main.rs')
-rw-r--r-- | examples/foo/src/main.rs | 9 |
1 files changed, 9 insertions, 0 deletions
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()); + } +} |