Skip to content

Commit 8b4860f

Browse files
authored
Merge pull request #55 from Shopify/jb/small-ryu
Use Ryū's small feature to cut ~9kb
2 parents 27c1d73 + 4ebe2c6 commit 8b4860f

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

Cargo.lock

Lines changed: 7 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

shopify_function/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,11 @@ serde = { version = "1.0.13", features = ["derive"] }
1111
serde_json = "1.0"
1212
shopify_function_macro = { version = "0.6.0", path = "../shopify_function_macro" }
1313

14+
# Use the `small` feature of ryu (transitive dependency through serde_json)
15+
# to shave off ~9kb of the Wasm binary size.
16+
[dependencies.ryu]
17+
version = "*"
18+
features = ["small"]
19+
1420
[dev-dependencies]
1521
graphql_client = "0.13.0"

0 commit comments

Comments
 (0)