ts_rs
CommunityShare Rust types with TypeScript via ts-rs.
Authoryankeeinlondon
Version1.0.0
Installs0
System Documentation
What problem does it solve?
ts-rs enables generating TypeScript type declarations from Rust types using derive macros and export workflows, keeping frontend/backend DTOs in sync and CI-friendly.
Core Features & Use Cases
- Generate TypeScript types from Rust DTOs with #[derive(TS)] and #[ts(...)] attributes.
- Align serialization with serde for fields, renaming, and tagging strategies.
- Support generics, enums, and feature flags (chrono/uuid/url/serde_json) for practical pipelines.
- Integrate into CI by exporting to a central directory and updating frontend typings.
Quick Start
Add ts-rs to your project, derive TS on your exported types, and run cargo test to generate the TypeScript bindings in the configured export directory.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ts_rs Download link: https://github.com/yankeeinlondon/rusty-biscuit/archive/main.zip#ts-rs Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.