- Breaking change in avoid mixed user permissions when volume mounting cargo cache directories. This docker images now configures a cargo installation to
/cargo
directory rather than/home/root/.cargo
. You'll also want to ensure docker runs use a docker user that maps to your host machine's user id and group.
$ docker run --rm \
+ -u $(id -u):$(id -g) \
-v ${PWD}:/code \
+ -v ${HOME}/.cargo/registry:/cargo/registry \
+ -v ${HOME}/.cargo/git:/cargo/git \
softprops/lambda-rust
-
Upgrade to Rust
1.45.2
-
Upgrade to amazon linux 2 base
- Upgrade to Rust
1.45.0
- Put unzipped
boostrap
andbootstrap.debug
files undertarget/lambda/${PROFILE}/output/${BIN}
dir to allow for using these artifacts without an intermediate.zip
file creation step. - Introduce
$PACKAGE
env var. Setting-e PACKAGE=false
prevents.zip
archive from being created andpackage
hook from running.
- Upgrade to Rust
1.44.1
- Upgrade to Rust
1.44.0
- Upgrade to Rust
1.43.1
- Upgrade to Rust
1.43.0
- Invoke user provided hooks for customized installation, building, and packaging needs #59
- Upgrade to Rust
1.42.0
- Upgrade to Rust
1.41.0
- Upgrade to Rust
1.40.0
- Upgrade to Rust
1.39.0
- Debug info in
release
profiles is now only included when aDEBUGINFO
env variable is provided. This perserves previous behavior and makes enabling this an opt-in feature forrelease
binaries
- reduced total size of docker image by ~277MB leveraging new rustup
minimal
profile
- Fixed regression from previous release cargo workspaces we failing to resolve binary names
dev
profile builds are no longer run thoughstrip
which increases their binary size but retain their debug informationrelease
profile builds (the default) still have debug information stripped but produce a file named{your-binary-name}.debug
which final release binary contains a debug link to.
- Upgrade to Rust
1.38.0
- You can generate debug artifacts with adding
-e PROFILE=dev
to your docker runs
- Improve logic for selecting binaries to include in deployment zip, especially on Windows
- Upgrade to Rust
1.37.0
- Upgrade to Rust
1.36.0
- Upgrade to Rust
1.35.0
- Upgrade to Rust
1.34.2
- Upgrade to Rust
1.34.1
- Upgrade to Rust
1.34.0
- Upgrade to Rust
1.33.0
- Added support for
BIN
env variable for naming precisely the bin to package - Handle case where Cargo bin is explicitly named
bootstrap
- Introduce integration testing
- Upgrade to Rust
1.32.0
- Upgrade to Rust
1.31.1
- Breaking change: move to now officially supported
provided
runtime - Upgrade to Rust
1.31.0
, enabling the first stable version2018 edition
Rust.
- Rust versions for
python 3.6
runtime targetting rust crowbar and lando applications