trpc-rs

🚧 Work in progress 🚧

A blazingly fast and easy to use TRPC server for Rust.


crates.io download count badge docs.rs


Example

You define a trpc router and attach resolvers to it like below. This will be very familiar if you have used trpc or GraphQL before.

rust let router = trpc_rs::Router::<()>::new() .query("version", |_| "0.0.1") .mutation("helloWorld", |_| async { "Hello World!" });

Features:

Planned Features: