diff --git a/Cargo.toml b/Cargo.toml index b7d602f..c8e6355 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,6 +7,12 @@ members = [ "integration_tests", ] +[workspace.package] +version = "2.0.1" + +[workspace.dependencies] +shopify_function_macro = { version = "=2.0.1", path = "shopify_function_macro" } + [profile.release] lto = true opt-level = 'z' diff --git a/shopify_function/Cargo.toml b/shopify_function/Cargo.toml index 732cf92..a8d47a7 100644 --- a/shopify_function/Cargo.toml +++ b/shopify_function/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shopify_function" -version = "2.0.1" +version.workspace = true edition = "2021" authors = ["Surma ", "Delta Pham "] license = "MIT" @@ -8,7 +8,7 @@ description = "Crate to write Shopify Functions in Rust." [dependencies] serde_json = "1.0" -shopify_function_macro = { version = "2.0.1", path = "../shopify_function_macro" } +shopify_function_macro.workspace = true shopify_function_wasm_api = "0.3.1" # Use the `small` feature of ryu (transitive dependency through serde_json) diff --git a/shopify_function_macro/Cargo.toml b/shopify_function_macro/Cargo.toml index d0de009..a32edd0 100644 --- a/shopify_function_macro/Cargo.toml +++ b/shopify_function_macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "shopify_function_macro" -version = "2.0.1" +version.workspace = true edition = "2021" authors = ["Surma ", "Delta Pham "] license = "MIT"