Build better web apps with Rust

Type-safe Rust crates built for developer experience and designed to scale to large codebases. Build faster, ship with confidence!

2,865GitHub stars
13.3Mcrates.io downloads
src/main.rsSpecta
#[derive(Type)]
pub struct User {
  pub id: u32,
  pub name: String,
}
generated bindings.ts
export type User = {
  id: number;
  name: string;
};
A Rust User struct deriving Specta's Type trait, and the generated bindings in TypeScript, Swift, Go, JSDoc and OpenAPI.

01Philosophy

Why specta-rs?

Typesafety

01

Types should always be inferred end-to-end, allowing you to move quickly and collaborate while maintaining confidence that your code is correct.

Developer Experience

02

Obsessed with simplicity, while maintaining flexibility. We build tools that make doing the "right thing" the "easy thing", freeing you up to focus on the things that matter.

Modern Practices

03

Embrace the world of modern JavaScript tooling, enabling you to ship better user experiences than server-driven approaches.

Scale

04

Build codebases that scale sanely, both in performance and maintainability. Take advantage of Rust's compile-time checks and tooling to reduce risk when developing large-scale applications.

02Ecosystem

Our Projects

Specta logo

Specta

GitHub stars: 656

Export your Rust types to any language. The foundation for type-safe communication across your stack.

Tauri Specta logo

Tauri Specta

GitHub stars: 818

Typesafe Tauri commands with Specta. Build desktop apps with full type safety between Rust and TypeScript.

rspc logo

rspc

GitHub stars: 1,391

A blazingly fast and typesafe RPC framework for Rust. Build web APIs with end-to-end type safety.

Gurafi app icon

Gurafi

GitHub stars: 0

An intuitive, type-safe, code-first GraphQL schema builder for Rust, built on the gql specification engine.

FSK logo

FSK

GitHub stars: 0

Build cross-platform virtual file systems with a deliberately small Rust API and native macOS, Linux and Windows backends.

Ready to build better web apps?

Join the community and start building with specta-rs today