aboutsummaryrefslogtreecommitdiff
path: root/example/src/main.rs
blob: e1a4931a4a2c7e202382b008433cddce7ab9e716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
extern crate includedir;
extern crate phf;

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());
    // }
}