diff --git a/serde_macros/Cargo.toml b/serde_macros/Cargo.toml index 22557df1..f9c832d2 100644 --- a/serde_macros/Cargo.toml +++ b/serde_macros/Cargo.toml @@ -8,8 +8,7 @@ homepage = "https://serde.rs" repository = "https://github.com/serde-rs/serde" documentation = "https://serde.rs/codegen.html" keywords = ["serde", "serialization"] -include = ["Cargo.toml", "src/**/*.rs", "build.rs"] -build = "build.rs" +include = ["Cargo.toml", "src/**/*.rs"] [lib] name = "serde_macros" @@ -18,20 +17,13 @@ plugin = true [features] unstable-testing = [ "clippy", - "skeptic", - "serde_json", "serde/unstable-testing", "serde_codegen/unstable-testing" ] -[build-dependencies] -skeptic = { version = "^0.6.0", optional = true } - [dependencies] clippy = { version = "^0.*", optional = true } serde_codegen = { version = "=0.8.4", default-features = false, features = ["unstable"], path = "../serde_codegen" } -skeptic = { version = "^0.6.0", optional = true } -serde_json = { version = "0.8.0", optional = true } [dev-dependencies] compiletest_rs = "^0.2.0" @@ -44,10 +36,6 @@ serde_test = { version = "0.8.4", path = "../serde_test" } name = "test" path = "tests/test.rs" -[[test]] -name = "skeptic" -path = "tests/skeptic.rs" - [[bench]] name = "bench" path = "benches/bench.rs" diff --git a/serde_macros/build.rs b/serde_macros/build.rs deleted file mode 100644 index 0f545500..00000000 --- a/serde_macros/build.rs +++ /dev/null @@ -1,18 +0,0 @@ -#[cfg(feature = "unstable-testing")] -mod inner { - extern crate skeptic; - - pub fn main() { - println!("cargo:rerun-if-changed=../README.md"); - skeptic::generate_doc_tests(&["../README.md"]); - } -} - -#[cfg(not(feature = "unstable-testing"))] -mod inner { - pub fn main() {} -} - -fn main() { - inner::main() -} diff --git a/serde_macros/tests/skeptic.rs b/serde_macros/tests/skeptic.rs deleted file mode 100644 index 47e632d0..00000000 --- a/serde_macros/tests/skeptic.rs +++ /dev/null @@ -1,3 +0,0 @@ -#![cfg(feature = "unstable-testing")] - -include!(concat!(env!("OUT_DIR"), "/skeptic-tests.rs")); diff --git a/serde_macros/tests/test.rs b/serde_macros/tests/test.rs index 94d8338b..e0462787 100644 --- a/serde_macros/tests/test.rs +++ b/serde_macros/tests/test.rs @@ -6,4 +6,3 @@ extern crate test; include!("../../testing/tests/test.rs.in"); mod compile_tests; -mod skeptic;