diff options
author | Scott Boggs <scott@tams.tech> | 2024-02-07 15:16:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-07 15:16:19 -0500 |
commit | 7f6a17ecb324277e954ace78045ff523602547e0 (patch) | |
tree | 39ab1272224b38a2164cd10bb15e7d4963ad405a | |
parent | 04cd9cc922415cc3d4484eed56eacc4f4a166759 (diff) | |
parent | cf82034015f929d19701aaf5c8adc23e898ed2f2 (diff) |
Merge pull request #136 from holly-hacker/remove-unused-dependencies
Remove unused dependencies
-rw-r--r-- | Cargo.toml | 5 | ||||
-rw-r--r-- | build.rs | 20 | ||||
-rw-r--r-- | entities/Cargo.toml | 5 | ||||
-rw-r--r-- | tests/skeptic.rs | 1 |
4 files changed, 0 insertions, 31 deletions
@@ -39,7 +39,6 @@ futures = "0.3.25" doc-comment = "0.3" serde_json = "1" serde_urlencoded = "0.7.1" -tap-reader = "1" url = "2" futures-util = "0.3.25" static_assertions = "1.1.0" @@ -97,14 +96,10 @@ 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" html2text = "0.6.0" -[dev-dependencies.criterion] -version = "0.5.1" -features = ["async_tokio"] [build-dependencies.skeptic] version = "0.13" 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/entities/Cargo.toml b/entities/Cargo.toml index 1b6c1dc..e6c89f4 100644 --- a/entities/Cargo.toml +++ b/entities/Cargo.toml @@ -11,15 +11,10 @@ rust-version.workspace = true # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -futures = "0.3.25" thiserror = "1" static_assertions = "1" derive_is_enum_variant = "0.1.1" -[dependencies.log] -version = "0.4" -features = ["kv_unstable", "serde", "std", "kv_unstable_serde", "kv_unstable_std"] - [dependencies.serde] version = "1" features = ["derive"] 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")); |