Rust

June 28, 2024 ยท View on GitHub

The recommended folder structure for Rust functions is:

- src
  - handler.rs
- serverless.yml

Your serverless.yml functions should look something like this:

provider:
  runtime: rust179
functions:
  main:
    handler: "handler"

You can find more Rust examples in the examples folder.