This project is a work in progress. I just wanted to try and replicate the syntax of trpc in Rust

trpc-rs

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

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: