Rust crates for building better web apps

Export your Rust types to any language

Build typesafe web backends and desktop apps with Rust. Specta automatically generates TypeScript types from your Rust code, ensuring end-to-end type safety.

Why use Specta?

Build faster and safer with compile-time guarantees

Type Safety

Catch bugs at compile time instead of runtime. Your frontend and backend stay in perfect sync automatically.

Zero Overhead

Types are generated at build time with no runtime cost. Get full IntelliSense and autocomplete in your editor.

Developer Experience

Simple macros and intuitive APIs. Integrates seamlessly with existing Rust and TypeScript projects.

Specta-based Libraries

Choose the right tool for your project

S

specta

★ 503

The core library for exporting Rust types. Use this if you want to integrate type exports into your own projects.

R

rspc

★ 1,346

A tRPC-inspired framework for building typesafe web backends in Rust. Perfect for web APIs and full-stack applications.

T

tauri-specta

★ 626

Completely typesafe Tauri commands and events. Build desktop apps with full type safety between Rust and TypeScript.

Ready to build typesafe apps?

Join the community and start building with Specta today