This project is a Rust-based Lambda functions for serving HTML content. It uses the crate cargo-lambda for a great developer experience. It is structured to work with AWS Lambda and utilizes HTML templates for content generation. There is a aws-sam template for easy deployment and building. There is also a nix flake with the dependencies. Recommend to use with nix-direnv.
- Rust: Follow the official guide to install Rust.
- Clone the repository.
- Navigate to the project directory.
- Build the project and start developing using Cargo:
cargo-lambda lambda watch
src/
: Contains the Rust source code for the Lambda function.templates/
: HTML templates used by the Lambda function.Cargo.toml
: The Rust project manifest file..envrc
,.gitignore
,Cargo.lock
,flake.lock
,flake.nix
,samconfig.toml
,template.yaml
: Configuration and lock files.
Feel free to fork the project and submit pull requests.
This project is licensed under MIT License.