aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Barnard2018-05-17 20:46:07 +0100
committerEdward Barnard2018-05-17 20:50:21 +0100
commit3baa446637fdc11ff7f67dfd0aa63b1bf125dfb7 (patch)
tree3fab777126972084a38ff6559cdd9533e55f5569
parent4823636ef9002fa69a1df5e148e3dd156d17984d (diff)
downloadrust-plist-3baa446637fdc11ff7f67dfd0aa63b1bf125dfb7.tar.bz2
Remove old and unused build script.
-rw-r--r--Cargo.toml1
-rw-r--r--build.rs25
2 files changed, 0 insertions, 26 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 3dc40f8..8642ca0 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,7 +7,6 @@ license = "MIT"
repository = "https://github.com/ebarnard/rust-plist/"
documentation = "https://docs.rs/plist/0.3.1/plist/"
keywords = ["plist", "parser"]
-build = "build.rs"
[features]
default = ["serde"]
diff --git a/build.rs b/build.rs
deleted file mode 100644
index d9f5c9c..0000000
--- a/build.rs
+++ /dev/null
@@ -1,25 +0,0 @@
-#[cfg(feature = "serde_tests")]
-mod serde_tests {
- use std::env;
- use std::path::Path;
-
- extern crate serde_codegen;
-
- pub fn build() {
- let out_dir = env::var_os("OUT_DIR").unwrap();
-
- let src = Path::new("tests/serde_tests.rs.in");
- let dst = Path::new(&out_dir).join("serde_tests.rs");
-
- serde_codegen::expand(&src, &dst).unwrap();
- }
-}
-
-#[cfg(not(feature = "serde_tests"))]
-mod serde_tests {
- pub fn build() {}
-}
-
-fn main() {
- serde_tests::build()
-}