Posted On: Feb 28, 2023
The AWS Serverless Application Model (SAM) Command Line Interface (CLI) now announces the preview of sam build support for building and packaging serverless applications developed in Rust. The AWS SAM CLI is a developer tool that makes it easier to build, test, package, and deploy serverless applications. Developers building serverless applications with Rust used cargo-lambda to build their applications, but cargo-lambda wasn't supported within the SAM CLI build workflow.. Starting today, you can use cargo-lambda in the SAM CLI build workflow for your Rust applications.
Developers building serverless applications using Rust can now use sam build and SAM Accelerate to rapidly iterate on their code changes in the cloud, achieving the same levels of productivity they're used to when testing locally, while testing against a realistic application environment in the cloud.
To learn more about this feature, please read details in the documentation. To get started, you can install the SAM CLI by following the instructions in the documentation.