Skip to content

Commit fb3bd07

Browse files
committed
4.0.7
1 parent 50e65c7 commit fb3bd07

File tree

6 files changed

+7
-9
lines changed

6 files changed

+7
-9
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Community-maintained package to support using [Rust](https://www.rust-lang.org/)
2828
{
2929
"functions": {
3030
"api/**/*.rs": {
31-
"runtime": "vercel-rust@4.0.6"
31+
"runtime": "vercel-rust@4.0.7"
3232
}
3333
}
3434
}
@@ -104,8 +104,6 @@ target/
104104

105105
**Step 5** — You're all set. Run `vercel dev` to develop your project locally. You can connect a Git repository to Vercel, or use `vercel` to start deploying your project on Vercel.
106106

107-
Should you encounter an "invalid runtime" error when deploying to Vercel, it may be rectified by downgrading your project's NodeJS version from v20 to v18. This is due to a compatibility issue with the build image, which can be further understood by visiting this [link](https://vercel.com/docs/deployments/build-image#runtime-support). You can modify the NodeJS version through the Vercel admin dashboard by navigating to Projects > Your Project, then selecting Settings. Scroll down to the "Node.js Version" header to make the necessary changes.
108-
109107
## Advanced Usage
110108

111109
### Toolchain Overrides
@@ -176,7 +174,7 @@ pub async fn handler(req: Request) -> Result<Response<Body>, Error> {}
176174
{
177175
"functions": {
178176
"api/main.rs": {
179-
"runtime": "vercel-rust@4.0.6"
177+
"runtime": "vercel-rust@4.0.7"
180178
}
181179
}
182180
}

examples/cron/vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"outputDirectory": "public",
33
"functions": {
44
"api/**/*.rs": {
5-
"runtime": "vercel-rust@4.0.6"
5+
"runtime": "vercel-rust@4.0.7"
66
}
77
},
88
"crons": [

examples/nextjs/vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"functions": {
33
"api/**/*.rs": {
4-
"runtime": "vercel-rust@4.0.6"
4+
"runtime": "vercel-rust@4.0.7"
55
}
66
}
77
}

examples/route-merge/vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"functions": {
33
"api/main.rs": {
4-
"runtime": "vercel-rust@4.0.6"
4+
"runtime": "vercel-rust@4.0.7"
55
}
66
}
77
}

examples/simple/vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"outputDirectory": "public",
33
"functions": {
44
"api/**/*.rs": {
5-
"runtime": "vercel-rust@4.0.6"
5+
"runtime": "vercel-rust@4.0.7"
66
}
77
}
88
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "vercel-rust",
3-
"version": "4.0.6",
3+
"version": "4.0.7",
44
"description": "Rust runtime for Vercel Functions.",
55
"homepage": "https://github.com/vercel-community/rust",
66
"repository": {

0 commit comments

Comments
 (0)