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 asAxum (opens in a new tab) or even fromTauri (opens in a new tab).
Features
- ✅Typesafety - allows your team to move faster andeliminate a whole class of common bugs
- ✅Developer experience - youdefine a function in Rust and cancall it from the frontend with no extra effort
- ✅Minimal runtime - small runtime footprint so your can get thefull potential of Rust's speed
- ✅Middleware - For easily extending your procedures withauth, logging and more