An open API service indexing awesome lists of open source software.

https://github.com/fdaciuk/rust-serverless-examples

Examples of how to use Rust with Serverless Framework, Lambda, API Gateway v1 and v2, SQS, GraphQL, etc
https://github.com/fdaciuk/rust-serverless-examples

api-gateway graphql lambda rest-api rust serverless serverless-framework sqs

Last synced: 12 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# Rust Serverless Examples

All examples live in their own directories:

- [project](/project): there is nothing here, just a simple `cargo new project_name` with a custom `rustfmt.toml` and `.editorconfig`.
- [rust-lambda](/rust-lambda): the minimum configuration you need to run rust on a lambda
- [rust-api-gateway-v1](/rust-api-gateway-v1): rust in a lambda with api gateway v1 in front of it
- [rust-api-gateway-v1-2](/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-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-lambda-sqs): rust in a lambda awaiting for an sqs event
- [rust-api-gateway-v2-sqs](/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-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