diff --git a/Cargo.toml b/Cargo.toml index a2f26d3cb..b8d144666 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,6 @@ license = "MIT" version = "1.23.1" readme = "README.md" authors = [ "Jens Heyens ", "Artem V. Navrotskiy " ] -build = "build.rs" description = "Rust LZ4 bindings library." repository = "https://github.com/bozaro/lz4-rs" documentation = "https://bozaro.github.io/lz4-rs/lz4/" @@ -20,7 +19,4 @@ lz4-sys = { path = "lz4-sys", version = "1.8.3" } [dev-dependencies] rand = "0.6.1" -skeptic = "0.13.3" - -[build-dependencies] -skeptic = "0.13.3" +docmatic = "0.1" diff --git a/build.rs b/build.rs deleted file mode 100644 index a780b3d35..000000000 --- a/build.rs +++ /dev/null @@ -1,5 +0,0 @@ -extern crate skeptic; - -fn main() { - skeptic::generate_doc_tests(&["README.md"]); -} diff --git a/tests/docmatic.rs b/tests/docmatic.rs new file mode 100644 index 000000000..881d5729e --- /dev/null +++ b/tests/docmatic.rs @@ -0,0 +1,6 @@ +extern crate docmatic; + +#[test] +fn test_readme() { + docmatic::assert_file("README.md"); +} diff --git a/tests/skeptic.rs b/tests/skeptic.rs deleted file mode 100644 index ff46c9c01..000000000 --- a/tests/skeptic.rs +++ /dev/null @@ -1 +0,0 @@ -include!(concat!(env!("OUT_DIR"), "/skeptic-tests.rs"));