summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorD. Scott Boggs <scott@tams.tech>2024-02-06 09:14:53 -0500
committerD. Scott Boggs <scott@tams.tech>2024-02-06 09:30:32 -0500
commitcf82034015f929d19701aaf5c8adc23e898ed2f2 (patch)
tree39ab1272224b38a2164cd10bb15e7d4963ad405a
parent53d655ffa31a69c754b2d4746fd2fa1efe165c45 (diff)
Remove skeptic
-rw-r--r--Cargo.toml1
-rw-r--r--build.rs20
-rw-r--r--tests/skeptic.rs1
3 files changed, 0 insertions, 22 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 3aebd74..73c7951 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -96,7 +96,6 @@ features = ["io"]
tokio-test = "0.4.2"
futures-util = "0.3.25"
indoc = "2.0"
-skeptic = "0.13"
tempfile = "3"
# for examples:
femme = "2.2.1"
diff --git a/build.rs b/build.rs
deleted file mode 100644
index 34ca6e2..0000000
--- a/build.rs
+++ /dev/null
@@ -1,20 +0,0 @@
-#[cfg(feature = "toml")]
-extern crate skeptic;
-
-#[cfg(feature = "toml")]
-fn main() {
- skeptic::generate_doc_tests(&["README.md"]);
-}
-
-#[cfg(not(feature = "toml"))]
-fn main() {
- // tests/skeptic.rs still expects a file to be at OUT_DIR/skeptic-tests.rs, so
- // make a dummy one
- use std::{env, fs::OpenOptions, path::Path};
- let out_dir = Path::new(&env::var("OUT_DIR").expect("no out_dir set")).join("skeptic-tests.rs");
- OpenOptions::new()
- .create(true)
- .write(true)
- .open(out_dir)
- .expect("couldn't write to file");
-}
diff --git a/tests/skeptic.rs b/tests/skeptic.rs
deleted file mode 100644
index ff46c9c..0000000
--- a/tests/skeptic.rs
+++ /dev/null
@@ -1 +0,0 @@
-include!(concat!(env!("OUT_DIR"), "/skeptic-tests.rs"));