serverless-rusty
v0.0.3
Published
A serverless plugin to deploy rust lambdas to AWS with the help of cargo lambda
Downloads
4
Readme
Serverless Plugin to build and deploy Rust lambdas
Tested only with 1 simple Cargo project. You can try it with cargo workspace, the plugin simple tries to find the zip file built by cargo lambda, in the ./target/lambdas/ folder.
Requirements
Example Serverless Config File
service: my-serverless-project
frameworkVersion: '3'
provider:
deploymentBucket: my-deployment-bucket
name: aws
runtime: provided.al2023
package:
individually: true # The plugin tested only with individual packaging
functions:
hello:
handler: bootstrap # This will be explicitly overridden by the plugin to bootstrap
cargo:
package: my-lambda # The name of the cargo package in Cargo.toml
plugins:
- serverless-rusty