Skip to content

Commit a12e50f

Browse files
authored
Merge pull request #2919 from mikkelhegn/templates-spin3
Update rust templates to use SDK 3.1.0.
2 parents 8fed064 + 41035dc commit a12e50f

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

templates/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ bump-go-versions:
1717
bump-rust-versions:
1818
for dir in $$(ls -d *-rust) ; do \
1919
cd $$dir/content ; \
20-
sed -r -i.sed-bak -e 's%(spin-sdk = )(("[0-9]+.[0-9]+.[0-9]+(-rc.[0-9]+)?")|(\{ git = "https://github.com/fermyon/spin", branch = "main" \}))%spin-sdk = "${CRATES_IO_VERSION}"%g' Cargo.toml ; \
20+
sed -r -i.sed-bak -e 's%(spin-sdk = )(("[0-9]+.[0-9]+.[0-9]+(-rc.[0-9]+)?")|(\{ git = "https://github.com/fermyon/spin", branch = "main" \}))%spin-sdk = "${CRATES_IO_VERSION}"%g' Cargo.toml.tmpl ; \
2121
rm *.sed-bak ; \
2222
cd - 2>&1 >/dev/null ; \
23-
done
23+
done

templates/http-rust/content/Cargo.toml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ crate-type = ["cdylib"]
1010

1111
[dependencies]
1212
anyhow = "1"
13-
spin-sdk = "3.0.1"
13+
spin-sdk = "3.1.0"
1414

1515
[workspace]

templates/redis-rust/content/Cargo.toml.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ anyhow = "1"
1414
# Crate to simplify working with bytes.
1515
bytes = "1"
1616
# The Spin SDK.
17-
spin-sdk = "3.0.1"
17+
spin-sdk = "3.1.0"
1818

1919
[workspace]

0 commit comments

Comments
 (0)