diff options
author | Nick Gerace <nickagerace@gmail.com> | 2023-04-21 09:26:27 -0400 |
---|---|---|
committer | Nick Gerace <nickagerace@gmail.com> | 2023-04-21 09:56:36 -0400 |
commit | 71b6ba2e9674204ce72f9683992ec1ab7ca23c07 (patch) | |
tree | ae2f34227703d49390c42d03accb226d8fda2633 | |
parent | 51736fb0a26ff86a313e1556c54d9f9762d93ca1 (diff) | |
download | gfold-71b6ba2e9674204ce72f9683992ec1ab7ca23c07.zip |
Use cargo workspace dependencies
Signed-off-by: Nick Gerace <nickagerace@gmail.com>
-rw-r--r-- | Cargo.lock | 20 | ||||
-rw-r--r-- | Cargo.toml | 11 | ||||
-rw-r--r-- | bin/gfold/Cargo.toml | 15 | ||||
-rw-r--r-- | bin/xtask/Cargo.toml | 11 | ||||
-rw-r--r-- | lib/libgfold/Cargo.toml | 9 |
5 files changed, 39 insertions, 27 deletions
@@ -119,9 +119,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clap" -version = "4.2.3" +version = "4.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49f9152d70e42172fdb87de2efd7327160beee37886027cf86f30a233d5b30b4" +checksum = "956ac1f6381d8d82ab4684768f89c0ea3afe66925ceadb4eeb3fc452ffc55d62" dependencies = [ "clap_builder", "clap_derive", @@ -130,9 +130,9 @@ dependencies = [ [[package]] name = "clap_builder" -version = "4.2.3" +version = "4.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e067b220911598876eb55d52725ddcc201ffe3f0904018195973bc5b012ea2ca" +checksum = "84080e799e54cff944f4b4a4b0e71630b0e0443b25b985175c7dddc1a859b749" dependencies = [ "anstream", "anstyle", @@ -448,9 +448,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.141" +version = "0.2.142" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3304a64d199bb964be99741b7a14d26972741915b3649639149b2479bb46f4b5" +checksum = "6a987beff54b60ffa6d51982e1aa1146bc42f19bd26be28b0586f252fccf5317" [[package]] name = "libgfold" @@ -493,9 +493,9 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f508063cc7bb32987c71511216bd5a32be15bccb6a80b52df8b9d7f01fc3aa2" +checksum = "9b085a4f2cde5781fc4b1717f2e86c62f5cda49de7ba99a7c2eae02b61c9064c" [[package]] name = "log" @@ -665,9 +665,9 @@ checksum = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" [[package]] name = "rustix" -version = "0.37.12" +version = "0.37.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "722529a737f5a942fdbac3a46cee213053196737c5eaa3386d52e85b786f2659" +checksum = "f79bef90eb6d984c72722595b5b1348ab39275a5e5123faca6863bf07d75a4e0" dependencies = [ "bitflags", "errno", @@ -9,4 +9,13 @@ strip = true [profile.release] lto = true -panic = "abort" +panic = "abort" + +[workspace.dependencies] +anyhow = { version = "1.0", features = ["backtrace"] } +clap = { version = "4.2", features = ["derive"] } +dirs = "5.0" +log = "0.4" +serde = { version = "1.0", features = ["derive"] } +termcolor = "1.2" +thiserror = "1.0"
\ No newline at end of file diff --git a/bin/gfold/Cargo.toml b/bin/gfold/Cargo.toml index 5e83119..e14cc26 100644 --- a/bin/gfold/Cargo.toml +++ b/bin/gfold/Cargo.toml @@ -15,13 +15,14 @@ repository = "https://github.com/nickgerace/gfold/" [dependencies] libgfold = { path = "../../lib/libgfold" } -anyhow = { version = "1.0", features = ["backtrace"] } -clap = { version = "4.2", features = ["derive"] } -dirs = "5.0" +anyhow = { workspace = true } +clap = { workspace = true } +dirs = { workspace = true } +log = { workspace = true } +serde = { workspace = true } +termcolor = { workspace = true } +thiserror = { workspace = true } + env_logger = { version = "0.10", features = ["humantime"], default_features = false } -log = "0.4" -serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" -termcolor = "1.2" -thiserror = "1.0" toml = "0.7" diff --git a/bin/xtask/Cargo.toml b/bin/xtask/Cargo.toml index 901a138..ed8c6fe 100644 --- a/bin/xtask/Cargo.toml +++ b/bin/xtask/Cargo.toml @@ -5,8 +5,9 @@ edition = "2021" publish = false [dependencies] -clap = { version = "4.2", features = ["derive"] } -dirs = "5.0" -strum = { version = "0.24", features = ["derive"] } -termcolor = "1.2" -thiserror = "1.0"
\ No newline at end of file +thiserror = { workspace = true } +clap = { workspace = true } +dirs = { workspace = true } +termcolor = { workspace = true } + +strum = { version = "0.24", features = ["derive"] }
\ No newline at end of file diff --git a/lib/libgfold/Cargo.toml b/lib/libgfold/Cargo.toml index 7872e42..7b1c183 100644 --- a/lib/libgfold/Cargo.toml +++ b/lib/libgfold/Cargo.toml @@ -15,12 +15,13 @@ readme = "../../README.md" repository = "https://github.com/nickgerace/gfold/" [dependencies] -anyhow = { version = "1.0", features = ["backtrace"] } +anyhow = { workspace = true } +log = { workspace = true } +serde = { workspace = true } +thiserror = { workspace = true } + git2 = { version = "0.17", default_features = false } -log = "0.4" rayon = "1.7" -serde = { version = "1.0", features = ["derive"] } -thiserror = "1.0" [dev-dependencies] env_logger = { version = "0.10", features = ["humantime"], default_features = false } |