--- id: cargo-lambda version: "1.9.1" license: MIT license_treatment: permissive maintenance: active --- # cargo-lambda — Cargo subcommand to work with AWS Lambda License: permissive · Maintenance: active · Downloads: 101.5K/mo ## What it is and what it does cargo-lambda is a Cargo subcommand—a plugin for Rust's package manager—that streamlines the process of building and deploying Rust code to AWS Lambda. It abstracts away much of the boilerplate and configuration needed to package Rust applications for Lambda's runtime environment. The tool depends on ziglang, a systems programming language used here to handle cross-platform compilation and linking. Developers use cargo-lambda when they want to write Lambda functions in Rust rather than the officially supported languages. It handles compilation, bundling, and deployment tasks that would otherwise require manual configuration of build scripts and AWS tooling. The project is actively maintained and has a modest but engaged user base. Use it for: - Build and package Rust Lambda functions for deployment to AWS without manual build configuration - Cross-compile Rust code for Lambda's Linux runtime from macOS or Windows development machines - Integrate Rust Lambda development into a CI/CD pipeline using a single Cargo subcommand - Deploy event-driven Rust microservices to AWS Lambda with minimal boilerplate ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. cargo-lambda is a Cargo subcommand that simplifies building and deploying Rust applications to AWS Lambda. Yes, if you are writing Rust for AWS Lambda. The tool is actively maintained, has no known vulnerabilities, and carries a permissive MIT license. The medium install friction (ziglang dependency, platform-specific wheels) is a minor trade-off for the convenience it provides. Not relevant if you are not targeting Lambda or not using Rust. ## Install pip install cargo-lambda uv add cargo-lambda poetry add cargo-lambda ## Installing cargo-lambda Before you install: Medium install friction due to the ziglang runtime dependency and platform-specific wheels. The project is actively maintained with recent commits and a stable release cadence. License in practice: MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both open-source and commercial projects. Quickstart: pip install cargo-lambda==1.9.1 Once installed, use as a Cargo subcommand: cargo lambda build Requires ziglang as a runtime dependency; Python version support is unspecified in metadata. Verify before relying: - Whether ziglang must be pre-installed or is bundled with the wheel distribution - Minimum Python version required (not specified in metadata) - Whether the tool works on platforms beyond the five wheel variants listed ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: medium - Maintenance: active - Downloads: 101.5K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags rust aws lambda deployment, cargo lambda subcommand, build rust for aws lambda, serverless rust tooling, aws lambda rust cli, aws-lambda, rust-tooling, serverless [View on SkillFed](https://skillfed.io/packages/cargo-lambda) · [View on PyPI](https://pypi.org/project/cargo-lambda/)