aboutsummaryrefslogtreecommitdiff
path: root/example/src/main.rs
blob: 5ee48f3d735c1d2d935104c7c0ca2f2b88cd1ad3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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);
    }
}