Skip to content

Commit 84a17b4

Browse files
committed
feat(doc): Update doc with reference to new workspace feature
1 parent ec848a9 commit 84a17b4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,9 @@ functions:
6262

6363
The default behavior is to build your lambda inside a docker container. Make sure you have a docker daemon running if you are not opting into the dockerless mode.
6464

65+
## Use with cargo workspaces
66+
Workspaces and per workspace serverless files are now supported. To use it, a custom flag has been added to signal that the serverless.yml is nested in a cargo workspace. Since the binaries will be outputted to a target folder in the workspace root, the zip-copy-process needs to take that into account.
67+
6568
## 🖍️ customize
6669

6770
You can optionally adjust the default settings of the dockerized build env using
@@ -78,6 +81,8 @@ custom:
7881
dockerTag: 'some-custom-tag'
7982
# custom docker image
8083
dockerImage: 'dockerUser/dockerRepo'
84+
# Using a workspace?
85+
inWorkspace: true # <---- Defaults to false
8186
```
8287

8388
### 🥼 (experimental) local builds

0 commit comments

Comments
 (0)