Skip to content

capJavert/next-rust

Repository files navigation

Next.js + Rust template

Learn how to use Rust in your existing JavaScript/Next.js projects and discover how to deploy Rust to production on Vercel.

You can use this template to get started writing Rust code in your Next.js project.

Read my blog post Integrating Rust into Next.js: How-To Developer Guide for more info.

Rust programming language logo on the right and Next.js logo on the right

Examples

Check out /api/examples folder for different examples of how to use Rust in your Next.js project.

All examples are deployed under /api/examples/* eg. https://next-rust-lake.vercel.app/api/examples/beer.


Running Rust in Next.js is powered by Rust Runtime from Vercel Community ❤️