Remove skeptic

This commit is contained in:
David Tolnay 2016-08-23 21:47:20 -04:00
parent d690ffda8d
commit 6f0f273d9c
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
4 changed files with 1 additions and 35 deletions

View File

@ -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"

View File

@ -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()
}

View File

@ -1,3 +0,0 @@
#![cfg(feature = "unstable-testing")]
include!(concat!(env!("OUT_DIR"), "/skeptic-tests.rs"));

View File

@ -6,4 +6,3 @@ extern crate test;
include!("../../testing/tests/test.rs.in");
mod compile_tests;
mod skeptic;