tarpc is an asynchronous RPC framework for Rust that embraces Rust’s type system and futures to generate ergonomic client and server stubs. Services are declared in pure Rust, and procedural macros expand those definitions into request/response types, trait implementations, and strongly typed stubs. The framework is transport-agnostic: it commonly uses Tokio with serde-based codecs, but you can plug in your own framing and serialization. It bakes in RPC concerns such as deadlines, cancellation, and context propagation so production behavior is predictable under load. The programming model feels native—call methods on a client stub and await results—while the server side exposes clean concurrency primitives for handling many requests. Because the interface is just Rust code, refactoring and IDE tooling work naturally without an external IDL.

Features

  • Service definitions in Rust with macro-generated stubs
  • Async/await integration atop Tokio and futures
  • Pluggable transports and serde codecs
  • Deadlines, cancellation, and per-request context
  • Strongly typed requests and responses without an external IDL
  • Easy testing via in-process transports and mock services

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow TarpC

TarpC Web Site

Other Useful Business Software
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of TarpC!

Additional Project Details

Programming Language

Rust

Related Categories

Rust Frameworks

Registered

2025-10-09