Skip to content

mingscraft/rust-lambda-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Example project that use Rust for AWS Lambda function

This example is tested within Mac environment.

Project prerequisites

Add target x86_64-unknown-linux-musl

rustup target add x86_64-unknown-linux-musl

Install a linker for the target platform

brew install filosottile/musl-cross/musl-cross

Build zip for AWS Lambda function

./build.sh

Lambda function logging level

Logging for this project is using simple_logger When the lambda function is running within AWS, The logging level can be changed by setting the environment variable for RUST_LOG, e.g RUST_LOG=info

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published