From 4635b070130422ae2f8440035fb162d147eb209c Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Wed, 23 May 2018 16:14:05 -0700 Subject: [PATCH] remove skeptic --- Cargo.toml | 3 --- build.rs | 31 ------------------------------- tests/skeptic.rs | 2 -- 3 files changed, 36 deletions(-) delete mode 100644 build.rs delete mode 100644 tests/skeptic.rs diff --git a/Cargo.toml b/Cargo.toml index 28cd159..71eecbb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,6 @@ categories = ["network-programming", "asynchronous", "web-programming::websocket"] license = "MIT/Apache-2.0" exclude = [".gitignore", ".travis.yml", ".cargo/config", "appveyor.yml"] -build = "build.rs" [lib] src="src/lib.rs" @@ -37,9 +36,7 @@ http = "0.1" [dev-dependencies] env_logger = "0.5" -skeptic = "0.13" serde_derive = "1.0" [build-dependencies] -skeptic = "0.13" futures = "0.1" diff --git a/build.rs b/build.rs deleted file mode 100644 index c8a5bd8..0000000 --- a/build.rs +++ /dev/null @@ -1,31 +0,0 @@ -extern crate skeptic; - -use std::{env, fs}; - - -fn main() { - let f = env::var("OUT_DIR").unwrap() + "/skeptic-tests.rs"; - let _ = fs::remove_file(f); - // generates doc tests. - skeptic::generate_doc_tests( - &["content/docs/application.md", - "content/docs/autoreload.md", - "content/docs/databases.md", - "content/docs/errors.md", - "content/docs/extractors.md", - "content/docs/getting-started.md", - "content/docs/handlers.md", - "content/docs/http2.md", - "content/docs/installation.md", - "content/docs/middleware.md", - "content/docs/request.md", - "content/docs/response.md", - "content/docs/sentry.md", - "content/docs/server.md", - "content/docs/static-files.md", - "content/docs/testing.md", - "content/docs/url-dispatch.md", - "content/docs/websockets.md", - "content/docs/whatis.md", - ]); -} diff --git a/tests/skeptic.rs b/tests/skeptic.rs deleted file mode 100644 index a0e0f9b..0000000 --- a/tests/skeptic.rs +++ /dev/null @@ -1,2 +0,0 @@ -#[cfg(unix)] -include!(concat!(env!("OUT_DIR"), "/skeptic-tests.rs"));