Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/netlify/rust-functions-example
Deploy Rust lambda functions on Netlify
https://github.com/netlify/rust-functions-example
Last synced: 11 days ago
JSON representation
Deploy Rust lambda functions on Netlify
- Host: GitHub
- URL: https://github.com/netlify/rust-functions-example
- Owner: netlify
- License: mit
- Created: 2020-12-09T15:59:23.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-27T22:51:37.000Z (over 1 year ago)
- Last Synced: 2024-07-03T14:52:43.062Z (4 months ago)
- Language: Rust
- Size: 29.3 KB
- Stars: 46
- Watchers: 6
- Forks: 9
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Introduction
This example shows how to deploy Rust code on Netlify Functions.
Functions can be deployed using [Netlify's CLI](https://ntl.fyi/cli) as well as the Netlify Build environment.
You can copy this repository and deploy it to Netlify by clicking the button below.
After clicking that button, you’ll authenticate with GitHub and choose a repository name. Netlify will then automatically create a repository in your GitHub account with a copy of the files from the template. Next, it will build and deploy the new site on Netlify, bringing you to the site dashboard when the build is complete.
## Build & Deployment
### Deploying with CLI
You need to install Netlify's CLI first:
```
npm install -g netlify-cli
```Then run the following command:
```
netlify deploy --build
```### Deploying with Netlify Build
Create a new Netlify site and link it to your repository. Netlify will detect the Rust functions automatically, build and deploy them for you.