Skip to content

Commit

Permalink
use doc-comment instead of skeptic
Browse files Browse the repository at this point in the history
  • Loading branch information
bsteinb committed Oct 12, 2020
1 parent ef11d7c commit a8f3eac
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 12 deletions.
8 changes: 2 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ readme = "README.md"
keywords = [ "floating-point", "accurate", "sum", "dot-product" ]
categories = [ "algorithms", "mathematics" ]
license = "MIT OR Apache-2.0"
build = "build.rs"

[features]
default = [ "parallel" ]
Expand All @@ -21,20 +20,17 @@ lint = [ "clippy" ]

[dependencies]
cfg-if = "1"
num-traits = "0.2"
ieee754 = "0.2"
num-traits = "0.2"
rayon = { version = "1", optional = true }

[build-dependencies]
skeptic = { git = 'https://github.com/andygauge/rust-skeptic' }

[dev-dependencies]
criterion = "0.3"
criterion-plot = "0.4"
doc-comment = "0.3"
num = "0.3"
rand = "0.7"
rug = "1.0"
skeptic = { git = 'https://github.com/andygauge/rust-skeptic' }

[[bench]]
name = "criterion"
Expand Down
5 changes: 0 additions & 5 deletions build.rs

This file was deleted.

6 changes: 6 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,12 +180,18 @@ assert_eq!(100_000.0, s);

#[macro_use]
extern crate cfg_if;
#[cfg(doctest)]
#[macro_use]
extern crate doc_comment;
extern crate ieee754;
extern crate num_traits;

#[cfg(feature = "parallel")]
extern crate rayon;

#[cfg(doctest)]
doctest!("../README.md");

pub mod dot;
pub mod sum;
pub mod util;
Expand Down
1 change: 0 additions & 1 deletion tests/skeptic.rs

This file was deleted.

0 comments on commit a8f3eac

Please sign in to comment.