{"id":15032751,"url":"https://github.com/madebyae/serverless-plugin-rust","last_synced_at":"2025-04-09T21:23:37.774Z","repository":{"id":65133736,"uuid":"582177396","full_name":"MadebyAe/serverless-plugin-rust","owner":"MadebyAe","description":"Serverless framework plugin for blazingly-fast rust functions. ⚡️🦀","archived":false,"fork":false,"pushed_at":"2024-03-13T00:45:56.000Z","size":303,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-23T23:16:20.133Z","etag":null,"topics":["aws-lambda","plugin","rust","serverless"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/serverless-plugin-rust","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MadebyAe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-12-26T01:37:39.000Z","updated_at":"2024-06-03T18:11:54.000Z","dependencies_parsed_at":"2024-03-13T01:43:05.093Z","dependency_job_id":"fcfdc4da-4fd4-457f-a6db-753d8f00af91","html_url":"https://github.com/MadebyAe/serverless-plugin-rust","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MadebyAe%2Fserverless-plugin-rust","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MadebyAe%2Fserverless-plugin-rust/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MadebyAe%2Fserverless-plugin-rust/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MadebyAe%2Fserverless-plugin-rust/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MadebyAe","download_url":"https://codeload.github.com/MadebyAe/serverless-plugin-rust/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248113151,"owners_count":21049792,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws-lambda","plugin","rust","serverless"],"created_at":"2024-09-24T20:19:21.064Z","updated_at":"2025-04-09T21:23:37.753Z","avatar_url":"https://github.com/MadebyAe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**Serverless framework** plugin for blazingly-fast rust functions.\n\n\u003cimg src=\"https://rustacean.net/assets/rustacean-flat-happy.png\" alt=\"serverless-plugin-rust\" height=\"120\" width=\"auto\" /\u003e\n\n## Status\n\n[![Build](https://github.com/MadebyAe/serverless-plugin-rust/actions/workflows/build.yml/badge.svg?branch=main)](https://github.com/MadebyAe/serverless-plugin-rust/actions/workflows/build.yml)\n\n## Motivation\n\n### 💻 Development experience\nThe goal of this project is to be accessible to beginners and experienced developers. Similar solutions require **Docker** to run or compile rust which is not practical.\n\n### 🚀 Faster time-to-market\nYou can quickly deploy and update serverless applications, reducing the time it takes to bring new features to the market.\n\n### ⚡️ Blazingly-fast\nExperience unparalleled speed with serverless Rust, delivering exceptional performance on serverless infrastructure.\n\n### 📈 Seamless scalability\nRust offers seamless scalability, effortlessly handling varying workloads, capable of processing millions of requests per minute while maintaining optimal performance.\n\n## Quick start\n\n### Prerequisites\n\nMake sure you have the following installed before starting:\n\n- [Node.js](https://nodejs.org)\n- [npm](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)\n- [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html)\n- [cargo lambda](https://www.cargo-lambda.info)\n\n### Install\n```console\nnpm install serverless-plugin-rust --save-dev\n```\n\n## Usage\n\n### Default serverless.yml config example\n\n```yml\nservice: serverless-rust-hello-world\n\nprovider:\n  name: aws\n  stage: dev\n  runtime: provided.al2\n  region: us-east-1\n  architecture: arm64\n\npackage:\n  individually: true\n\nconfigValidationMode: error\n\nfunctions:\n  hello:\n    description: Hello world lambda\n    handler: hello\n    events:\n      - http:\n          path: '/hello-world'\n          method: get\n\nplugins:\n  - serverless-plugin-rust\n```\n\n```console\nserverless deploy\n```\n\n## Demo\n\n[![asciicast](https://asciinema.org/a/646679.svg)](https://asciinema.org/a/646679)\n\n## Examples\n\n- [Basic hello world example](https://github.com/MadebyAe/serverless-plugin-rust/tree/main/examples/hello-world)\n- [OpenAI ChatGPT example](https://github.com/MadebyAe/serverless-plugin-rust/tree/main/examples/openai-chatgpt)\n- [Workspace example](https://github.com/MadebyAe/serverless-plugin-rust/tree/main/examples/workspace)\n\n## Benchmark\n\n|                     |             |           |              |\n|---------------------|-------------|-----------|--------------|\n| Rust (provided.al2) | ❄ 17.734ms  | 💾 14MB   | ⚡ 1.18ms   |\n| Go (provided)       | ❄ 59.495ms  | 💾 19MB   | ⚡ 3.14ms   |\n| Go (1.x)            | ❄ 93.72ms   | 💾 29.1MB | ⚡ 3.14ms   |\n| Node.js v16.x       | ❄ 141.038ms | 💾 57.2MB | ⚡ 11.18ms   |\n| Node.js v18.x       | ❄ 250.032ms | 💾 64.7MB | ⚡ 8.70ms  |\n| Java11              | ❄ 428.539ms | 💾 81MB   | ⚡ 13.73ms |\n\n❄ Avg Cold Start duration · 💾 Avg Memory Used · ⚡ Avg duration\n\nSource: https://maxday.github.io/lambda-perf\n\n### Important\n\n- 💰 Running this code and examples might result in charges to your AWS account.\n- 🔐 We recommend that you grant your code least privilege. At most, grant only the minimum permissions required to perform the task.\n\n### Roadmap\n\n- Add Google Cloud compatibility (Experimental)\n- Integrate `serverless offline` and `serverless invoke`\n\n---\n\nMade with ❤️  in San Francisco\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadebyae%2Fserverless-plugin-rust","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadebyae%2Fserverless-plugin-rust","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadebyae%2Fserverless-plugin-rust/lists"}