Skip to content

Replace Typescript Generator Functionality with a Rust-based CLI#73

Merged
KevinEdry merged 1 commit intomainfrom
feat/rust-cli
Jan 30, 2026
Merged

Replace Typescript Generator Functionality with a Rust-based CLI#73
KevinEdry merged 1 commit intomainfrom
feat/rust-cli

Conversation

@KevinEdry
Copy link
Owner

@KevinEdry KevinEdry commented Jan 20, 2026

This is a first iteration of the Rust CLI to replace the in-app server.ts generator.

@vercel
Copy link

vercel bot commented Jan 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nestjs-trpc-docs Ready Ready Preview, Comment Jan 30, 2026 8:19pm

Request Review

@dmurvihill
Copy link

Wow dude, you've been busy!

@KevinEdry
Copy link
Owner Author

Wow dude, you've been busy!

Thanks 😅
I can't take all the credit, I started this a while ago and had claude code help me bring this to the finish line.

There are more tweaks and checks I need to do before I release this, but I would expect this library to start getting updates pretty frequently from now on.

I am also planning on merging the v2 repo @mguay22 have been maintaining to this one, and starting to chew through the issues.

Major rewrite of the schema generation system from TypeScript to Rust,
providing significant performance improvements and a standalone CLI tool.

Key changes:
- Add Rust CLI with generate and watch subcommands
- Migrate to tRPC v11 APIs
- Add comprehensive test suite (unit, integration, E2E, snapshots)
- Add benchmark infrastructure with Criterion
- Improve error handling with miette diagnostics
- Add dry-run mode with diff preview
- Update documentation and migration guides
- Fix CI workflow for Rust toolchain and test runner
@KevinEdry KevinEdry merged commit a5e991c into main Jan 30, 2026
5 checks passed
@KevinEdry KevinEdry deleted the feat/rust-cli branch January 30, 2026 20:22
@jeffstieler
Copy link

Will this get published in a new version to npm? I'd love to use it. Thanks for your work here!

@KevinEdry
Copy link
Owner Author

Yes! Although I am struggling with the automated build system.
I have a couple of things to sort before the CI would be able to build everything correctly and publish it directly to npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants