Announcing rust.aws-cdk-lambda v1.0.0: a CDK library to cross-compile Rust code to AWS Lambda
Hey all! For anyone using the AWS CDK v2 to deploy code to AWS Lambda, I've published an NPM library rust.aws-cdk-lambda which exports a simple RustFunction CDK construct, that makes it easier to package and deploy Rust code to an AWS Lambda environment.
I've just published a new major release, v1.0.0 of the rust.aws-cdk-lambda construct library, which now uses cargo-zigbuild instead of a containerized approach with cross for building and cross-compiling Rust code. After initial testing, I am quite satisfied with the results; overall build and deploy times seem to now be faster with zig, and compilation after making minor code changes is now overall much faster!
I am using this CDK construct library in a professional setting currently, but I hope others can also take advantage and benefit from using this library along with the AWS CDK tool for deployments to AWS Lambda.