Remove skeptic
This commit is contained in:
parent
d690ffda8d
commit
6f0f273d9c
@ -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"
|
||||
|
@ -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()
|
||||
}
|
@ -1,3 +0,0 @@
|
||||
#![cfg(feature = "unstable-testing")]
|
||||
|
||||
include!(concat!(env!("OUT_DIR"), "/skeptic-tests.rs"));
|
@ -6,4 +6,3 @@ extern crate test;
|
||||
include!("../../testing/tests/test.rs.in");
|
||||
|
||||
mod compile_tests;
|
||||
mod skeptic;
|
||||
|
Loading…
Reference in New Issue
Block a user