Ross ROSS = Recommend OSS · open-source software intelligence for agents

Aleph-Alpha/ts-rs

Generate TypeScript bindings from Rust types observed · 2026-08-28

github.com/Aleph-Alpha/ts-rs · Rust · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

79/100

  • Activity 97
  • Release rhythm 44
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 120.5
  • age_days: 2087
  • days_rel: 214
  • days_push: 22
  • n_releases_24m: 5

Full methodology

Adoption not part of the score

1864 stars · 167 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

ts-rs is a Rust library with a derive macro that generates TypeScript type declarations from Rust structs and enums. It keeps backend and frontend types in sync by exporting bindings during tests, with serde compatibility and multi-file import support.

Use cases

  • generate typescript types from rust structs
  • share types between rust backend and typescript frontend
  • keep rust and typescript type definitions in sync
  • export rust enums as typescript unions
  • generate bindings for a wasm project
  • generate typescript interfaces compatible with serde

When to choose

  • you build web apps with a Rust backend and TypeScript frontend
  • you want types generated automatically from a single source of truth
  • you use serde and want bindings to match your serialization
  • you need multi-file exports with generated imports

When to avoid

  • your backend is not written in Rust
  • you need runtime serialization rather than type declarations
  • you want JSON Schema or OpenAPI output instead of TypeScript

Facets

library · maturity stable

serialization developer-tools web-development developer-tools apis rust cross-platform typescript-bindings code-generation derive-macro serde wasm

2 sources

Member repositories

RepositoryRoleHealth v2
Aleph-Alpha/ts-rsmain79

For agents

markdown · JSON · MCP: product_card(name="Aleph-Alpha/ts-rs")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem