Overview

rspc

rspc is a typesafe router allowing you to build end-to-end type safe APIs.

It lets you define your backend logic in a Rust function and use the Typescript client to call it.

Your rspc router is transport agnostic which means you can serve it from any HTTP server of your choice such as Axum (opens in a new tab) or even from Tauri (opens in a new tab).

Features

  • Typesafety - allows your team to move faster and eliminate a whole class of common bugs
  • Developer experience - you define a function in Rust and can call it from the frontend with no extra effort
  • Minimal runtime - small runtime footprint so your can get the full potential of Rust's speed
  • Middleware - For easily extending your procedures with auth, logging and more

Production users