From b3fa34718c498c359b7e09041dddfa523b024ac1 Mon Sep 17 00:00:00 2001 From: Yiffy Dev Date: Wed, 30 Oct 2024 17:09:21 +0500 Subject: [PATCH] we should keep dependencies independent from workspace --- Cargo.lock | 1 + Cargo.toml | 13 ------------- examples/use-styles/Cargo.lock | 1 + sabry_build/Cargo.toml | 6 +++--- sabry_intrnl/Cargo.toml | 26 +++++++++++++------------- sabry_procmacro_impl/Cargo.toml | 11 +++++------ 6 files changed, 23 insertions(+), 35 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 80d7a63..1907822 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1016,6 +1016,7 @@ dependencies = [ "grass", "lightningcss", "proc-macro2", + "quote", "raffia", "regex", "serde", diff --git a/Cargo.toml b/Cargo.toml index c31dc20..3af3f66 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,20 +15,7 @@ sabry_procmacro = {path = "sabry_procmacro", version = "0.0.1"} sabry_procmacro_impl = {path = "sabry_procmacro_impl", version = "0.0.1"} sabry_build = {path = "sabry_build", version = "0.0.1"} -syn = {version = "^2.0"} -quote = {version = "^1.0"} -proc-macro2 = {version = "^1.0"} -raffia = {version = "^0.9"} -regex = {version = "^1.11"} -grass = {version = "^0.13"} -lightningcss = {version = "1.0.0-alpha.59"} -blake3 = {version = "^1.5"} -base64 = {version = "^0.22"} -const_format = {version = "^0.2"} -thiserror = {version = "^1.0"} -serde = {version = "^1.0"} -toml = {version = "^0.8"} [workspace.package] diff --git a/examples/use-styles/Cargo.lock b/examples/use-styles/Cargo.lock index 00f3e98..8bc46bd 100644 --- a/examples/use-styles/Cargo.lock +++ b/examples/use-styles/Cargo.lock @@ -1023,6 +1023,7 @@ dependencies = [ "grass", "lightningcss", "proc-macro2", + "quote", "raffia", "regex", "serde", diff --git a/sabry_build/Cargo.toml b/sabry_build/Cargo.toml index 05d7609..d6ff640 100644 --- a/sabry_build/Cargo.toml +++ b/sabry_build/Cargo.toml @@ -10,10 +10,10 @@ license.workspace = true [dependencies] sabry_intrnl = {workspace = true} sabry_procmacro_impl = {workspace = true} -proc-macro2 = {workspace = true, features = ["span-locations"]} -syn = {workspace = true, features = ["visit", "derive", "parsing", "full"]} -thiserror = {workspace = true} +syn = {version = "^2.0", features = ["visit", "derive", "parsing", "full"]} +proc-macro2 = {version = "^1.0", features = ["span-locations"]} +thiserror = {version = "^1.0"} walkdir = {version = "^2.5"} [features] diff --git a/sabry_intrnl/Cargo.toml b/sabry_intrnl/Cargo.toml index 5bf56e5..412f6f5 100644 --- a/sabry_intrnl/Cargo.toml +++ b/sabry_intrnl/Cargo.toml @@ -8,20 +8,20 @@ authors.workspace = true license.workspace = true [dependencies] -raffia = {workspace = true} -grass = {workspace = true} -lightningcss = {workspace = true} -blake3 = {workspace = true} -base64 = {workspace = true} +syn = {version = "^2.0"} +quote = {version = "^1.0"} +proc-macro2 = {version = "^1.0"} +raffia = {version = "^0.9"} +regex = {version = "^1.11"} +grass = {version = "^0.13"} +lightningcss = {version = "1.0.0-alpha.59"} +blake3 = {version = "^1.5"} +base64 = {version = "^0.22"} +const_format = {version = "^0.2"} -syn = {workspace = true} -proc-macro2 = {workspace = true} -regex = {workspace = true} -const_format = {workspace = true} - -serde = {workspace = true, features = ["derive"]} -toml = {workspace = true} -thiserror = {workspace = true} +thiserror = {version = "^1.0"} +serde = {version = "^1.0", features = ["derive"]} +toml = {version = "^0.8"} [features] sass = [] diff --git a/sabry_procmacro_impl/Cargo.toml b/sabry_procmacro_impl/Cargo.toml index c5e0e5b..dbac87d 100644 --- a/sabry_procmacro_impl/Cargo.toml +++ b/sabry_procmacro_impl/Cargo.toml @@ -10,12 +10,11 @@ license.workspace = true [dependencies] sabry_intrnl = {workspace = true} -proc-macro2 = {workspace = true, features = ["span-locations"]} -syn = {workspace = true, features = ["parsing"]} -quote = {workspace = true} -regex = {workspace = true} - -raffia = {workspace = true} +syn = {version = "^2.0", features = ["parsing"]} +quote = {version = "^1.0"} +proc-macro2 = {version = "^1.0", features = ["span-locations"]} +raffia = {version = "^0.9"} +regex = {version = "^1.11"} [features] sass = [