Skip to content

fdaciuk/rust-serverless-examples

Repository files navigation

Rust Serverless Examples

All examples live in their own directories:

  • project: there is nothing here, just a simple cargo new project_name with a custom rustfmt.toml and .editorconfig.
  • rust-lambda: the minimum configuration you need to run rust on a lambda
  • rust-api-gateway-v1: rust in a lambda with api gateway v1 in front of it
  • rust-api-gateway-v1-2: a simpler implementation of rust in a lambda with api gateway v1 in front of it
  • rust-api-gateway-v2: rust in a lambda with api gateway v2 in front of it, using a rest API + local server
  • rust-lambda-sqs: rust in a lambda awaiting for an sqs event
  • rust-api-gateway-v2-sqs: rust in a lambda with api gateway v2 in front of it sending a message to an sqs queue
  • rust-api-gateway-v2-sqs-2: rust in a lambda with api gateway v2 in front of it sending a message to an sqs queue. Two lambdas, but only one Rust project.
  • rust-api-gateway-v2-graphql (TODO): rust in a lambda with api gateway v2 in front of it, using a graphql API

License

MIT

About

Examples of how to use Rust with Serverless Framework, Lambda, API Gateway v1 and v2, SQS, GraphQL, etc

Topics

Resources

Stars

13 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors