From aea35fa7e1a3261e5e7a3e8daa999bed3dcd193f Mon Sep 17 00:00:00 2001 From: Till Höppner Date: Thu, 18 Feb 2016 18:53:30 +0100 Subject: Restructure, add API, add compression --- examples/foo/Cargo.toml | 13 ------------- examples/foo/build.rs | 5 ----- examples/foo/data/empty | 0 examples/foo/data/foo | 1 - examples/foo/data/inner/boom | 1 - examples/foo/src/main.rs | 9 --------- 6 files changed, 29 deletions(-) delete mode 100644 examples/foo/Cargo.toml delete mode 100644 examples/foo/build.rs delete mode 100644 examples/foo/data/empty delete mode 100644 examples/foo/data/foo delete mode 100644 examples/foo/data/inner/boom delete mode 100644 examples/foo/src/main.rs (limited to 'examples') diff --git a/examples/foo/Cargo.toml b/examples/foo/Cargo.toml deleted file mode 100644 index 93c06c8..0000000 --- a/examples/foo/Cargo.toml +++ /dev/null @@ -1,13 +0,0 @@ -[package] -name = "foo" -version = "0.1.0" -authors = ["Till Höppner "] -build = "build.rs" -include = ["data"] -publish = false - -[dependencies] -phf = "0.7.12" - -[build-dependencies] -includedir = "0.1.1" diff --git a/examples/foo/build.rs b/examples/foo/build.rs deleted file mode 100644 index 08c0a34..0000000 --- a/examples/foo/build.rs +++ /dev/null @@ -1,5 +0,0 @@ -extern crate includedir; - -fn main() { - includedir::build("data").unwrap(); -} diff --git a/examples/foo/data/empty b/examples/foo/data/empty deleted file mode 100644 index e69de29..0000000 diff --git a/examples/foo/data/foo b/examples/foo/data/foo deleted file mode 100644 index 257cc56..0000000 --- a/examples/foo/data/foo +++ /dev/null @@ -1 +0,0 @@ -foo diff --git a/examples/foo/data/inner/boom b/examples/foo/data/inner/boom deleted file mode 100644 index 9e2ba7e..0000000 --- a/examples/foo/data/inner/boom +++ /dev/null @@ -1 +0,0 @@ -boom diff --git a/examples/foo/src/main.rs b/examples/foo/src/main.rs deleted file mode 100644 index 8270aec..0000000 --- a/examples/foo/src/main.rs +++ /dev/null @@ -1,9 +0,0 @@ -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