1Password/typeshare
Typeshare is the ultimate tool for synchronizing your type definitions between Rust and other languages for seamless FFI. observed · 2026-08-28
Health v2 · maintenance only
81/100
- Activity 99
- Release rhythm 48
- 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: 36.0
- age_days: 1439
- days_rel: 265
- days_push: 11
- n_releases_24m: 7
Adoption not part of the score
2984 stars · 133 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Typeshare is a CLI tool and Rust library that parses Rust type definitions annotated with serde attributes and generates equivalent type definitions in other languages like TypeScript, Swift, and Kotlin. It keeps types in sync across FFI boundaries, eliminating manual duplication.
Use cases
- generate TypeScript types from Rust structs
- keep Rust and Swift type definitions in sync for iOS apps
- share data models across FFI boundary
- avoid manually duplicating serde types in other languages
- generate Kotlin data classes from Rust types
When to choose
- you have a Rust core with mobile or web frontends consuming its types over FFI
- you use serde and want automatic cross-language type generation
- you want a maintained, widely-used tool from 1Password
When to avoid
- your project doesn't involve Rust
- you need types shared between non-Rust languages only
- you need runtime serialization, not just type definitions
Facets
cli-tool · maturity active
serialization developer-tools cli developer-tools programming-languages cross-platform rust cli cross-platform ffi type-sharing serde code-generation rust
2 sources
- readme: https://github.com/1Password/typeshare · fetched 2026-08-28 · 061c0b05d654
- registry_crates: https://crates.io/api/v1/crates/typeshare · fetched 2026-08-29 · 439e14b76603
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| 1Password/typeshare | main | 81 |
For agents
markdown · JSON · MCP: product_card(name="1Password/typeshare")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem