Skip to content

Commit

Permalink
Switch to docmatic for testing README.
Browse files Browse the repository at this point in the history
Similar to skpetic, but it does not add itself as a build
dependency, which means that all downstream users of LZ4
don't need to build skeptic (and all its dependencies).
See budziq/rust-skeptic#60.
  • Loading branch information
rasky committed Dec 25, 2018
1 parent ceb967d commit e3e0718
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
6 changes: 1 addition & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ license = "MIT"
version = "1.23.1"
readme = "README.md"
authors = [ "Jens Heyens <[email protected]>", "Artem V. Navrotskiy <[email protected]>" ]
build = "build.rs"
description = "Rust LZ4 bindings library."
repository = "https://github.com/bozaro/lz4-rs"
documentation = "https://bozaro.github.io/lz4-rs/lz4/"
Expand All @@ -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"
5 changes: 0 additions & 5 deletions build.rs

This file was deleted.

6 changes: 6 additions & 0 deletions tests/docmatic.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extern crate docmatic;

#[test]
fn test_readme() {
docmatic::assert_file("README.md");
}
1 change: 0 additions & 1 deletion tests/skeptic.rs

This file was deleted.

0 comments on commit e3e0718

Please sign in to comment.