talira

Full stack, fully typed. A cutting-edge Rust framework for the modern web.

open sourceMITself-hostablefree

Leptos is a full-stack Rust web framework. Components use fine-grained reactive signals that make targeted updates to the DOM, so state is easy to manage without fighting the borrow checker. Apps can render in the browser (compiled to WebAssembly), on the server, or on the server and then hydrate for interactivity, so they work immediately and are progressively enhanced. Server functions (#[server]) cross the client-server boundary without writing an API endpoint, so one component can hold everything from a SQL query to a button click. The cargo-leptos build tool builds the client and server together.

Problems it solves

  • build a full-stack web app entirely in Rust
  • a Rust web front end with server-side rendering and hydration
  • call server code from my Rust front end without writing an API
  • reactive signals for a Rust and WebAssembly UI

Features

  • fine-grained reactive signals
  • client-side, server-side or hydrated rendering
  • server functions
  • progressive enhancement
  • cargo-leptos build tool

Alternatives

The same job

These do what Leptos does.

  1. Yew A framework for creating reliable and efficient web applications
  2. Loco The one-person framework for Rust.

Compare Leptos with the top 3