ust

A language empowering everyone to build reliable and efficient software...

Banner

Bookmarks

13 items

Articles

How to use Rust to create a Netlify Serverless function

Learn how to enable and create Rust-based serverless functions on Netlify. This guide covers setting up experimental Rust support, initializing a new function with Cargo or the Netlify CLI, and structuring a basic Rust function for seamless deployment.

use anyhow::Result;

#[tokio::main]
async fn main() -> Result<()> {
  println!("Hello World")
}