From 4ff01690a7971d390a9d5a6dff3732b9a3a6a86c Mon Sep 17 00:00:00 2001 From: Jacob Lifshay Date: Wed, 25 Sep 2024 01:22:35 -0700 Subject: [PATCH] clean up deps and move missed deps to workspace --- Cargo.toml | 3 +++ crates/fayalite-proc-macros-impl/Cargo.toml | 16 +++++++------- crates/fayalite-proc-macros/Cargo.toml | 2 +- crates/fayalite-visit-gen/Cargo.toml | 16 +++++++------- crates/fayalite/Cargo.toml | 24 ++++++++++----------- 5 files changed, 32 insertions(+), 29 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1608a79..9ee7445 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,6 +19,8 @@ fayalite-proc-macros-impl = { version = "=0.2.0", path = "crates/fayalite-proc-m fayalite-visit-gen = { version = "=0.2.0", path = "crates/fayalite-visit-gen" } base16ct = "0.2.0" bitvec = { version = "1.0.1", features = ["serde"] } +clap = { version = "4.5.9", features = ["derive", "env", "string"] } +eyre = "0.6.12" hashbrown = "0.14.3" indexmap = { version = "2.2.6", features = ["serde"] } num-bigint = "0.4.4" @@ -33,3 +35,4 @@ syn = { version = "2.0.66", features = ["full", "fold", "visit", "extra-traits"] tempfile = "3.10.1" thiserror = "1.0.61" trybuild = "1.0" +which = "6.0.1" diff --git a/crates/fayalite-proc-macros-impl/Cargo.toml b/crates/fayalite-proc-macros-impl/Cargo.toml index 31c4465..d56f03d 100644 --- a/crates/fayalite-proc-macros-impl/Cargo.toml +++ b/crates/fayalite-proc-macros-impl/Cargo.toml @@ -13,11 +13,11 @@ rust-version.workspace = true version.workspace = true [dependencies] -base16ct = { workspace = true } -num-bigint = { workspace = true } -prettyplease = { workspace = true } -proc-macro2 = { workspace = true } -quote = { workspace = true } -sha2 = { workspace = true } -syn = { workspace = true } -tempfile = { workspace = true } +base16ct.workspace = true +num-bigint.workspace = true +prettyplease.workspace = true +proc-macro2.workspace = true +quote.workspace = true +sha2.workspace = true +syn.workspace = true +tempfile.workspace = true diff --git a/crates/fayalite-proc-macros/Cargo.toml b/crates/fayalite-proc-macros/Cargo.toml index 08c630a..6941d12 100644 --- a/crates/fayalite-proc-macros/Cargo.toml +++ b/crates/fayalite-proc-macros/Cargo.toml @@ -16,4 +16,4 @@ version.workspace = true proc-macro = true [dependencies] -fayalite-proc-macros-impl = { workspace = true } +fayalite-proc-macros-impl.workspace = true diff --git a/crates/fayalite-visit-gen/Cargo.toml b/crates/fayalite-visit-gen/Cargo.toml index 6da95d2..5a98947 100644 --- a/crates/fayalite-visit-gen/Cargo.toml +++ b/crates/fayalite-visit-gen/Cargo.toml @@ -13,11 +13,11 @@ rust-version.workspace = true version.workspace = true [dependencies] -indexmap = { workspace = true } -prettyplease = { workspace = true } -proc-macro2 = { workspace = true } -quote = { workspace = true } -serde = { workspace = true } -serde_json = { workspace = true } -syn = { workspace = true } -thiserror = { workspace = true } +indexmap.workspace = true +prettyplease.workspace = true +proc-macro2.workspace = true +quote.workspace = true +serde.workspace = true +serde_json.workspace = true +syn.workspace = true +thiserror.workspace = true diff --git a/crates/fayalite/Cargo.toml b/crates/fayalite/Cargo.toml index 555f7f5..55a29ad 100644 --- a/crates/fayalite/Cargo.toml +++ b/crates/fayalite/Cargo.toml @@ -14,22 +14,22 @@ rust-version.workspace = true version.workspace = true [dependencies] -bitvec = { workspace = true } -hashbrown = { workspace = true } -num-bigint = { workspace = true } -num-traits = { workspace = true } -fayalite-proc-macros = { workspace = true } -serde = { workspace = true } -serde_json = { workspace = true } -clap = { version = "4.5.9", features = ["derive", "env"] } -eyre = "0.6.12" -which = "6.0.1" +bitvec.workspace = true +clap.workspace = true +eyre.workspace = true +fayalite-proc-macros.workspace = true +hashbrown.workspace = true +num-bigint.workspace = true +num-traits.workspace = true +serde_json.workspace = true +serde.workspace = true +which.workspace = true [dev-dependencies] -trybuild = { workspace = true } +trybuild.workspace = true [build-dependencies] -fayalite-visit-gen = { workspace = true } +fayalite-visit-gen.workspace = true [features] unstable-doc = []