summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Gerace <nickagerace@gmail.com>2023-06-26 16:07:15 -0400
committerNick Gerace <nickagerace@gmail.com>2023-06-26 16:41:35 -0400
commit3c83e4f1aa0f0436417e4253ff17ed99b60309ac (patch)
tree76195b9a931f3d6ff7368ed43264dc21501e158f
parentdeb823772a48219f6954571490293d48a1e7b2d7 (diff)
downloadgfold-3c83e4f1aa0f0436417e4253ff17ed99b60309ac.zip
Consolidate crate deps into the root Cargo.toml
Signed-off-by: Nick Gerace <nickagerace@gmail.com>
-rw-r--r--Cargo.toml10
-rw-r--r--bin/gfold/Cargo.toml7
-rw-r--r--bin/xtask/Cargo.toml5
-rw-r--r--lib/libgfold/Cargo.toml11
-rw-r--r--lib/libgfold/src/lib.rs1
5 files changed, 19 insertions, 15 deletions
diff --git a/Cargo.toml b/Cargo.toml
index bd214d9..8e687f3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,7 +15,15 @@ panic = "abort"
anyhow = { version = "1.0", features = ["backtrace"] }
clap = { version = "4.3", features = ["derive"] }
dirs = "5.0"
+env_logger = { version = "0.10", features = ["humantime"], default_features = false }
+git2 = { version = "0.17", default_features = false }
log = "0.4"
+pretty_assertions = "1.3"
+rayon = "1.7"
serde = { version = "1.0", features = ["derive"] }
+serde_json = "1.0"
+strum = { version = "0.24", features = ["derive"] }
+tempfile = "3.6"
termcolor = "1.2"
-thiserror = "1.0" \ No newline at end of file
+thiserror = "1.0"
+toml = "0.7" \ No newline at end of file
diff --git a/bin/gfold/Cargo.toml b/bin/gfold/Cargo.toml
index e14cc26..39a8708 100644
--- a/bin/gfold/Cargo.toml
+++ b/bin/gfold/Cargo.toml
@@ -18,11 +18,10 @@ libgfold = { path = "../../lib/libgfold" }
anyhow = { workspace = true }
clap = { workspace = true }
dirs = { workspace = true }
+env_logger = { workspace = true }
log = { workspace = true }
serde = { workspace = true }
+serde_json = { workspace = true }
termcolor = { workspace = true }
thiserror = { workspace = true }
-
-env_logger = { version = "0.10", features = ["humantime"], default_features = false }
-serde_json = "1.0"
-toml = "0.7"
+toml = { workspace = true }
diff --git a/bin/xtask/Cargo.toml b/bin/xtask/Cargo.toml
index ed8c6fe..94f342e 100644
--- a/bin/xtask/Cargo.toml
+++ b/bin/xtask/Cargo.toml
@@ -5,9 +5,8 @@ edition = "2021"
publish = false
[dependencies]
-thiserror = { workspace = true }
clap = { workspace = true }
dirs = { workspace = true }
+strum = { workspace = true }
termcolor = { workspace = true }
-
-strum = { version = "0.24", features = ["derive"] } \ No newline at end of file
+thiserror = { workspace = true } \ No newline at end of file
diff --git a/lib/libgfold/Cargo.toml b/lib/libgfold/Cargo.toml
index ba1a158..95e2952 100644
--- a/lib/libgfold/Cargo.toml
+++ b/lib/libgfold/Cargo.toml
@@ -15,15 +15,14 @@ readme = "../../README.md"
repository = "https://github.com/nickgerace/gfold/"
[dependencies]
+git2 = { workspace = true }
log = { workspace = true }
+rayon = { workspace = true }
serde = { workspace = true }
thiserror = { workspace = true }
-git2 = { version = "0.17", default_features = false }
-rayon = "1.7"
-
[dev-dependencies]
anyhow = { workspace = true }
-env_logger = { version = "0.10", features = ["humantime"], default_features = false }
-pretty_assertions = "1.3"
-tempfile = "3.5"
+env_logger = { workspace = true }
+pretty_assertions = { workspace = true }
+tempfile = { workspace = true }
diff --git a/lib/libgfold/src/lib.rs b/lib/libgfold/src/lib.rs
index ac79603..2eda775 100644
--- a/lib/libgfold/src/lib.rs
+++ b/lib/libgfold/src/lib.rs
@@ -6,7 +6,6 @@
#![warn(
missing_debug_implementations,
missing_docs,
- missing_doc_code_examples,
rust_2018_idioms,
unreachable_pub,
bad_style,