From 844576e32ead20b0a444365bc5f2bdb72b248583 Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Wed, 27 Apr 2022 19:48:59 +0200 Subject: [PATCH] Remove unused deps thanks to cargo-machete --- Cargo.lock | 5 ----- Cargo.toml | 2 -- components/errors/Cargo.toml | 1 - components/markdown/Cargo.toml | 2 -- 4 files changed, 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d6f1e1af..a6304eaf 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -675,7 +675,6 @@ name = "errors" version = "0.1.0" dependencies = [ "anyhow", - "libs", ] [[package]] @@ -1580,10 +1579,8 @@ dependencies = [ "errors", "insta", "libs", - "link_checker", "pest", "pest_derive", - "serde", "templates", "utils", ] @@ -3912,7 +3909,6 @@ dependencies = [ "atty", "clap 3.1.6", "clap_complete", - "content", "ctrlc", "errors", "hyper", @@ -3922,7 +3918,6 @@ dependencies = [ "open", "pathdiff", "same-file", - "search", "site", "termcolor", "time 0.3.9", diff --git a/Cargo.toml b/Cargo.toml index 9509b26b..ac0c05a9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -39,9 +39,7 @@ mime_guess = "2.0" site = { path = "components/site" } errors = { path = "components/errors" } -content = { path = "components/content" } utils = { path = "components/utils" } -search = { path = "components/search" } libs = { path = "components/libs" } diff --git a/components/errors/Cargo.toml b/components/errors/Cargo.toml index e629556d..9e7700da 100644 --- a/components/errors/Cargo.toml +++ b/components/errors/Cargo.toml @@ -4,5 +4,4 @@ version = "0.1.0" edition = "2021" [dependencies] -libs = { path = "../libs" } anyhow = "1.0.56" diff --git a/components/markdown/Cargo.toml b/components/markdown/Cargo.toml index 90040f9a..123c0d47 100644 --- a/components/markdown/Cargo.toml +++ b/components/markdown/Cargo.toml @@ -5,14 +5,12 @@ edition = "2021" include = ["src/**/*"] [dependencies] -serde = {version = "1.0", features = ["derive"] } pest = "2" pest_derive = "2" errors = { path = "../errors" } utils = { path = "../utils" } config = { path = "../config" } -link_checker = { path = "../link_checker" } libs = { path = "../libs" } [dev-dependencies]