Build better web apps with Rust

An ecosystem of crates focused on typesafety, developer experience, modern practices which scales to large codebases allowing you to build faster and deploy with confidence.

2,861GitHub stars
11.1Mcrates.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: 654

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

Tauri Specta logo

Tauri Specta

GitHub stars: 817

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

rspc logo

rspc

GitHub stars: 1,390

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