aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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()
-}