Skip to content

Commit 61ac811

Browse files
authored
Have shopify_function and shopify_function_macro use shared version (#181)
1 parent 5c058b0 commit 61ac811

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ members = [
77
"integration_tests",
88
]
99

10+
[workspace.package]
11+
version = "2.0.1"
12+
13+
[workspace.dependencies]
14+
shopify_function_macro = { version = "=2.0.1", path = "shopify_function_macro" }
15+
1016
[profile.release]
1117
lto = true
1218
opt-level = 'z'

shopify_function/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[package]
22
name = "shopify_function"
3-
version = "2.0.1"
3+
version.workspace = true
44
edition = "2021"
55
authors = ["Surma <[email protected]>", "Delta Pham <[email protected]>"]
66
license = "MIT"
77
description = "Crate to write Shopify Functions in Rust."
88

99
[dependencies]
1010
serde_json = "1.0"
11-
shopify_function_macro = { version = "2.0.1", path = "../shopify_function_macro" }
11+
shopify_function_macro.workspace = true
1212
shopify_function_wasm_api = "0.3.1"
1313

1414
# Use the `small` feature of ryu (transitive dependency through serde_json)

shopify_function_macro/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "shopify_function_macro"
3-
version = "2.0.1"
3+
version.workspace = true
44
edition = "2021"
55
authors = ["Surma <[email protected]>", "Delta Pham <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)