Skip to content

Commit d22712d

Browse files
authored
Merge pull request #25 from softprops/update-lambda-rust
update the default lambda-rust docker tag to 0.2.1-rust-1.32.0
2 parents 6efee8e + a8ab9cd commit d22712d

File tree

7 files changed

+741
-4486
lines changed

7 files changed

+741
-4486
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# ⚡ 0.2.2
2+
3+
- bump [lambda-rust](https://hub.docker.com/r/softprops/lambda-rust/) docker version to 0.2.1-rust-1.32.0, fixing a bug where cargo binaries named `bootstrap` weren't getting packaged. Reminder: this plugin renames binaries to `bootstrap` for the lambda runtime for you. You don't have do to this manually in your Cargo configuration. This also introduces an effiency in the way binaries are identified for packaging that may help some windows users.
4+
- bump serverless version to [`1.37.1`](https://github.com/serverless/serverless/releases/tag/v1.37.1)
5+
6+
17
# ⚡ 0.2.1
28

39
- bump [lambda-rust](https://hub.docker.com/r/softprops/lambda-rust/) docker version to 0.2.0-rust-1.32.0, to make the new default Rust 1.32.0 (the latest release of Rust at this time)

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ functions:
3939
method: GET
4040
```
4141
42+
> 💡 The Rust Lambda runtime requires a binary named `bootstrap`. This plugin renames the binary cargo builds to `bootstrap` for you before packaging. You do not need to do this manually in your Cargo configuration.
4243

4344
## 🖍️ customize
4445

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
const { spawnSync } = require("child_process");
88
const path = require("path");
99

10-
const DEFAULT_DOCKER_TAG = "0.2.0-rust-1.32.0";
10+
const DEFAULT_DOCKER_TAG = "0.2.1-rust-1.32.0";
1111
const RUST_RUNTIME = "rust";
1212
const BASE_RUNTIME = "provided";
1313
const NO_OUTPUT_CAPTURE = { stdio: ["ignore", process.stdout, process.stderr] };

package-lock.json

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

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"dependencies": {
2626
"fs-copy-file-sync": "^1.1.1",
2727
"fs-extra": "^7.0.1",
28-
"serverless": "^1.37.1"
28+
"serverless": "^1.37.1",
29+
"test": "^0.6.0"
2930
},
3031
"devDependencies": {
3132
"eslint": "^5.14.0"

0 commit comments

Comments
 (0)