You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,6 @@ $ npm i -D serverless-rust
30
30
```
31
31
💡The `-D` flag adds it to your development dependencies in npm speak
32
32
33
-
34
33
💡 This plugin assumes you are building Rustlang lambdas targeting the AWS Lambda "provided" runtime. The [AWS Lambda Rust Runtime](https://github.com/awslabs/aws-lambda-rust-runtime) makes this easy.
35
34
36
35
Add the following to your serverless project's `serverless.yml` file
@@ -61,6 +60,8 @@ functions:
61
60
62
61
> 💡 The Rust Lambda runtime requires a binary named `bootstrap`. This plugin renames the binary cargo builds to `bootstrap` for you. You do **not** need to do this manually in your `Cargo.toml` configuration file.
63
62
63
+
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.
64
+
64
65
## 🖍️ customize
65
66
66
67
You can optionally adjust the default settings of the dockerized build env using
0 commit comments