Announcing rust.aws-cdk-lambda v1.0.0: a CDK library to cross-compile Rust code to AWS Lambda

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • rust.aws-cdk-lambda

    A CDK (v2) Construct Library for AWS Lambda in Rust

  • a) I'm personally not familiar with a GLIBC_XXX error as I generally compile on a Mac machine. Though I guess, I'd also suggest trying with the latest 0.x release which supports building with cross in a Docker environment. I'm not sure if that would solve the issue in your case, but I guess it's worth a shot. I'll also dig a bit deeper into zigbuild myself to see if it supports compiling in a Docker build image as mentioned - I think there should be a way though.

  • cargo-zigbuild

    Compile Cargo project with zig as linker

  • 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 using 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 AWS CDK for any deployments to AWS Lambda.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts