{"adoption": {"forks": 167, "observed_at": "2026-08-28T04:05:46.106311+00:00", "stars": 1864}, "canonical_url": "https://ross.abutalabs.com/products/ts-rs", "card": {"archived": false, "artifact_type": "library", "description": "Generate TypeScript bindings from Rust types", "domain": ["web-development", "developer-tools", "apis"], "enriched": true, "function": ["serialization", "developer-tools"], "health_score": 95, "homepage": null, "language": "Rust", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["Aleph-Alpha/ts-rs"], "name": "Aleph-Alpha/ts-rs", "platform": ["rust", "cross-platform"], "pushed_at": "2026-08-11T20:15:07+00:00", "repo": "Aleph-Alpha/ts-rs", "stars": 1864, "tags": ["typescript-bindings", "code-generation", "derive-macro", "serde", "wasm"], "topics": ["code-generation", "rust", "types", "rust-to-typescript", "binding-generator", "bindings", "typescript"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/ts-rs", "repo": "Aleph-Alpha/ts-rs", "role": "main", "score": 79}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.106311+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:15:35.682607+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db337e1658abedf9663baa1d5378fb2db7ffab269ae217cf01632977b7c324b4", "fetched_at": "2026-08-28T04:05:46.106311+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Aleph-Alpha/ts-rs"}, {"content_hash": "b573b7e87c97a883094d9da217fce2ace98fe45475d2328277eb210cfc6cdf6a", "fetched_at": "2026-08-29T10:54:29.447982+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/ts-rs"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.106311+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:15:35.682607+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db337e1658abedf9663baa1d5378fb2db7ffab269ae217cf01632977b7c324b4", "fetched_at": "2026-08-28T04:05:46.106311+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Aleph-Alpha/ts-rs"}, {"content_hash": "b573b7e87c97a883094d9da217fce2ace98fe45475d2328277eb210cfc6cdf6a", "fetched_at": "2026-08-29T10:54:29.447982+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/ts-rs"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:15:35.682607+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db337e1658abedf9663baa1d5378fb2db7ffab269ae217cf01632977b7c324b4", "fetched_at": "2026-08-28T04:05:46.106311+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Aleph-Alpha/ts-rs"}, {"content_hash": "b573b7e87c97a883094d9da217fce2ace98fe45475d2328277eb210cfc6cdf6a", "fetched_at": "2026-08-29T10:54:29.447982+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/ts-rs"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.106311+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.106311+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.106311+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:15:35.682607+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db337e1658abedf9663baa1d5378fb2db7ffab269ae217cf01632977b7c324b4", "fetched_at": "2026-08-28T04:05:46.106311+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Aleph-Alpha/ts-rs"}, {"content_hash": "b573b7e87c97a883094d9da217fce2ace98fe45475d2328277eb210cfc6cdf6a", "fetched_at": "2026-08-29T10:54:29.447982+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/ts-rs"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.106311+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.106311+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:15:35.682607+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db337e1658abedf9663baa1d5378fb2db7ffab269ae217cf01632977b7c324b4", "fetched_at": "2026-08-28T04:05:46.106311+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Aleph-Alpha/ts-rs"}, {"content_hash": "b573b7e87c97a883094d9da217fce2ace98fe45475d2328277eb210cfc6cdf6a", "fetched_at": "2026-08-29T10:54:29.447982+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/ts-rs"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.106311+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.106311+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.106311+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:15:35.682607+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db337e1658abedf9663baa1d5378fb2db7ffab269ae217cf01632977b7c324b4", "fetched_at": "2026-08-28T04:05:46.106311+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Aleph-Alpha/ts-rs"}, {"content_hash": "b573b7e87c97a883094d9da217fce2ace98fe45475d2328277eb210cfc6cdf6a", "fetched_at": "2026-08-29T10:54:29.447982+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/ts-rs"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.106311+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:46.106311+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:15:35.682607+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db337e1658abedf9663baa1d5378fb2db7ffab269ae217cf01632977b7c324b4", "fetched_at": "2026-08-28T04:05:46.106311+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Aleph-Alpha/ts-rs"}, {"content_hash": "b573b7e87c97a883094d9da217fce2ace98fe45475d2328277eb210cfc6cdf6a", "fetched_at": "2026-08-29T10:54:29.447982+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/ts-rs"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:15:35.682607+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db337e1658abedf9663baa1d5378fb2db7ffab269ae217cf01632977b7c324b4", "fetched_at": "2026-08-28T04:05:46.106311+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Aleph-Alpha/ts-rs"}, {"content_hash": "b573b7e87c97a883094d9da217fce2ace98fe45475d2328277eb210cfc6cdf6a", "fetched_at": "2026-08-29T10:54:29.447982+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/ts-rs"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:15:35.682607+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db337e1658abedf9663baa1d5378fb2db7ffab269ae217cf01632977b7c324b4", "fetched_at": "2026-08-28T04:05:46.106311+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Aleph-Alpha/ts-rs"}, {"content_hash": "b573b7e87c97a883094d9da217fce2ace98fe45475d2328277eb210cfc6cdf6a", "fetched_at": "2026-08-29T10:54:29.447982+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/ts-rs"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:15:35.682607+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "db337e1658abedf9663baa1d5378fb2db7ffab269ae217cf01632977b7c324b4", "fetched_at": "2026-08-28T04:05:46.106311+00:00", "kind": "readme", "missing": false, "url": "https://github.com/Aleph-Alpha/ts-rs"}, {"content_hash": "b573b7e87c97a883094d9da217fce2ace98fe45475d2328277eb210cfc6cdf6a", "fetched_at": "2026-08-29T10:54:29.447982+00:00", "kind": "registry_crates", "missing": false, "url": "https://crates.io/api/v1/crates/ts-rs"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 97, "longevity": 100, "rhythm": 44}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2087, "days_push": 22, "days_rel": 214, "gap_med": 120.5, "n_releases_24m": 5}, "score": 79, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}