Skip to content

Commit fda52d8

Browse files
committed
4.0.0.beta.1
1 parent 835027a commit fda52d8

File tree

13 files changed

+24
-26
lines changed

13 files changed

+24
-26
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## Unreleased
44

5+
## 4.0.0.beta.1
6+
7+
- Fix to support build targets with different name than its path filename
8+
59
## 4.0.0.beta.0
610

711
- New builder and runtime crate (published as `vercel_runtime`)

Cargo.lock

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

Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
members = [
44
"vercel_runtime",
55
"examples/cron",
6-
"examples/merged",
76
"examples/nextjs",
87
"examples/simple",
98
]

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ First, you'll need a `vercel.json` file in your project:
2020
{
2121
"functions": {
2222
"api/**/*.rs": {
23-
"runtime": "[email protected].0"
23+
"runtime": "[email protected].1"
2424
}
2525
}
2626
}
@@ -72,6 +72,16 @@ vercel_runtime = { version = "0.2.1" }
7272
name = "handler"
7373
path = "api/handler.rs"
7474

75+
# Note that you need to provide unique names for dynamic paths
76+
[[bin]]
77+
name = "user-id"
78+
path = "api/user/[id].rs"
79+
80+
[[bin]]
81+
name = "group-id"
82+
path = "api/group/[id].rs"
83+
84+
7585
# --snip--
7686
```
7787

examples/cron/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": "[email protected].0"
4+
"runtime": "[email protected].1"
55
}
66
},
77
"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": "[email protected].0"
4+
"runtime": "[email protected].1"
55
}
66
}
77
}

examples/simple/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": "[email protected].0"
4+
"runtime": "[email protected].1"
55
}
66
}
77
}

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.0-beta.0",
3+
"version": "4.0.0-beta.1",
44
"description": "Rust runtime for Vercel Functions.",
55
"homepage": "https://github.com/vercel-community/rust",
66
"repository": {

test/fixtures/01-include-files/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": "[email protected].0",
4+
"runtime": "[email protected].1",
55
"includeFiles": "static/**/*.{txt,svg}"
66
}
77
}
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": "[email protected].0"
4+
"runtime": "[email protected].1"
55
}
66
}
77
}

0 commit comments

Comments
 (0)