From rust-lambda
Build and compile a Rust AWS Lambda function using Cargo Lambda. Use when the user wants to compile their Rust Lambda project, target ARM64/Graviton2, or produce a .zip deployment package. Works on macOS, Windows, and Linux.
npx claudepluginhub lep511/claude-rust-lambda-plugin --plugin rust-lambdaThis skill uses the workspace's default tool permissions.
Compile the Rust Lambda function using Cargo Lambda.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Checks Next.js compilation errors using a running Turbopack dev server after code edits. Fixes actionable issues before reporting complete. Replaces `next build`.
Compile the Rust Lambda function using Cargo Lambda.
x86_64 (default) or arm64 (AWS Graviton2).zip (needed for AWS CLI / SAM deployment)cargo lambda --version
If not found, install it:
cargo install cargo-lambda
Standard release build (x86_64):
cargo lambda build --release
For AWS Graviton2 (ARM64) — recommended for better price/performance:
cargo lambda build --release --arm64
Build a .zip deployment package (required for AWS CLI or SAM deployment):
cargo lambda build --release --output-format zip
Build .zip for ARM64:
cargo lambda build --release --arm64 --output-format zip
After a successful build:
target/lambda/<function-name>/bootstraptarget/lambda/<function-name>/bootstrap.zipThe compiled binary is named bootstrap — this is the required executable name for Lambda custom runtimes (provided.al2023).
provided.al2023 OS-only runtime (not a managed runtime like python3.12 or nodejs20.x)/rust-lambda:deploy or /rust-lambda:invoke to test locallycargo update and retry.edition = "2024" errors: Ensure you're using a recent Rust toolchain (rustup update stable).