Company
Date Published
Author
Eduardo Bouças
Word count
986
Language
English
Hacker News points
2

Summary

Netlify Functions now support Rust, allowing developers to build the backend of web applications with a complete workflow that focuses on writing business logic instead of provisioning servers or navigating configuration. The feature is currently experimental and can be enabled by setting an environment variable in the Netlify UI or CLI. To create a new Rust function, developers can run `cargo init FUNCTION_NAME` from their configured functions directory or use the Netlify CLI's function generator. Functions must include a handler that receives requests and returns responses, and the build system uses Cargo to compile binaries. The feature is still being fine-tuned, but it provides an unrivaled serverless workflow for developers to focus on writing business logic.