aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorTill Höppner2016-02-18 18:53:30 +0100
committerTill Höppner2016-02-18 18:53:30 +0100
commitaea35fa7e1a3261e5e7a3e8daa999bed3dcd193f (patch)
tree6f010c750dd390a5cbbb6c935603b14f800d6d7c /examples
parent7808afe883904650a012ce1ccf8ff596aa294c4b (diff)
downloadincludedir-aea35fa7e1a3261e5e7a3e8daa999bed3dcd193f.tar.gz
includedir-aea35fa7e1a3261e5e7a3e8daa999bed3dcd193f.tar.xz
includedir-aea35fa7e1a3261e5e7a3e8daa999bed3dcd193f.zip
Restructure, add API, add compression
Diffstat (limited to 'examples')
-rw-r--r--examples/foo/Cargo.toml13
-rw-r--r--examples/foo/build.rs5
-rw-r--r--examples/foo/data/empty0
-rw-r--r--examples/foo/data/foo1
-rw-r--r--examples/foo/data/inner/boom1
-rw-r--r--examples/foo/src/main.rs9
6 files changed, 0 insertions, 29 deletions
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 <till@hoeppner.ws>"]
-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
--- a/examples/foo/data/empty
+++ /dev/null
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());
- }
-}