Skip to content

Full Rust re-implementation#1271

Merged
ken-matsui merged 26 commits into
mainfrom
rust
May 21, 2026
Merged

Full Rust re-implementation#1271
ken-matsui merged 26 commits into
mainfrom
rust

Conversation

@ken-matsui
Copy link
Copy Markdown
Member

@ken-matsui ken-matsui commented May 12, 2026

Important Note

This is bootstrapped with AI. I'll review and refactor this by the next release.

Why?

The original C++ implementation slowed down progress because too much time was spent on infrastructure rather than on cabin itself (it's been over 7 years since the first commit). Whenever a basic component was missing—such as semantic-version parsing, TOML handling, or Result-like utilities—I had to either implement it myself or improve existing libraries such as toml11 and mitama-cpp-result.

Rust provides mature, well-maintained crates for these building blocks, and Cargo makes dependency management significantly smoother. Reimplementing cabin in Rust should reduce the amount of infrastructure I need to maintain ourselves and help us reach an MVP faster.


Closes #971
Closes #972
Closes #991
Closes #999
Closes #1212
Closes #1213
Closes #1266

@ken-matsui ken-matsui force-pushed the rust branch 20 times, most recently from 06c80f5 to 396da9d Compare May 15, 2026 08:20
@ken-matsui ken-matsui force-pushed the rust branch 2 times, most recently from 06df352 to e8346df Compare May 20, 2026 23:54
@ken-matsui ken-matsui marked this pull request as ready for review May 21, 2026 00:03
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e8346dfea3

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/cabin-cli/src/config_glue.rs Outdated
Comment thread crates/cabin-cli/src/run_glue.rs Outdated
@ken-matsui ken-matsui merged commit 92ea5b9 into main May 21, 2026
9 checks passed
@ken-matsui ken-matsui deleted the rust branch May 21, 2026 03:45
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.

Use std::format instead of string concatenation Integration with ccache Support workspaces mangen command compgen command

1 participant