From 0a8fcf11fbfa5424bd62a55ea481a8ae49cbaacd Mon Sep 17 00:00:00 2001 From: Adam Petro Date: Tue, 20 May 2025 14:36:58 -0400 Subject: [PATCH] Use released Wasm API crate --- Cargo.lock | 15 +++++++++------ shopify_function/Cargo.toml | 2 +- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f2c1d20..ca76f6b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1242,8 +1242,9 @@ dependencies = [ [[package]] name = "shopify_function_provider" -version = "1.0.0" -source = "git+https://github.com/Shopify/shopify-function-wasm-api?rev=53b7f99c1cd67fc1f602495c745a9af166413573#53b7f99c1cd67fc1f602495c745a9af166413573" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1eb4e60eb2f8c6e02b1f1e7634ef91738b1104b5bc2fa30458d10cd00917dbbf" dependencies = [ "bumpalo", "rmp", @@ -1252,8 +1253,9 @@ dependencies = [ [[package]] name = "shopify_function_wasm_api" -version = "0.0.1" -source = "git+https://github.com/Shopify/shopify-function-wasm-api?rev=53b7f99c1cd67fc1f602495c745a9af166413573#53b7f99c1cd67fc1f602495c745a9af166413573" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a57a2e64ef7d28cbe26bf591fd084093327d9d359e38355010720d818cd92ba9" dependencies = [ "rmp-serde", "serde_json", @@ -1264,8 +1266,9 @@ dependencies = [ [[package]] name = "shopify_function_wasm_api_core" -version = "0.0.1" -source = "git+https://github.com/Shopify/shopify-function-wasm-api?rev=53b7f99c1cd67fc1f602495c745a9af166413573#53b7f99c1cd67fc1f602495c745a9af166413573" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4842376f01b3abe6c78596085f29ea0d1b605873d2855f812738072c38e32c34" dependencies = [ "strum", ] diff --git a/shopify_function/Cargo.toml b/shopify_function/Cargo.toml index 6f588da..1abc6f9 100644 --- a/shopify_function/Cargo.toml +++ b/shopify_function/Cargo.toml @@ -9,7 +9,7 @@ description = "Crate to write Shopify Functions in Rust." [dependencies] serde_json = "1.0" shopify_function_macro = { version = "0.8.1", path = "../shopify_function_macro" } -shopify_function_wasm_api = { git = "https://github.com/Shopify/shopify-function-wasm-api", rev = "53b7f99c1cd67fc1f602495c745a9af166413573" } +shopify_function_wasm_api = "0.1.0" # Use the `small` feature of ryu (transitive dependency through serde_json) # to shave off ~9kb of the Wasm binary size.