Skip to content

refactor: make the Rust app the whole project and remove the C# app - #11

Merged
squidllee merged 5 commits into
mainfrom
t3/rust-codebase-cleanup
Nov 2, 2026
Merged

squidllee merged 5 commits into
mainfrom
t3/rust-codebase-cleanup

Conversation

@squidllee

Copy link
Copy Markdown
Collaborator

Problem

The Rust port lives in rust/ next to a C# solution that the installer no longer ships. Anyone working on Hyperkey, human or agent, has to work out which tree is real, and CI still builds the C# app.

Solution

  • The Cargo workspace moves to the repository root, with the crates under crates/.
  • The C# projects, the solution, and Directory.Build.props are removed. The version now lives in [workspace.package] in Cargo.toml, and the installer scripts read it from there.
  • The installer icon moves to installer/favicon.ico, since src/ no longer exists.
  • CI builds the Rust workspace from the root. The release workflow installs the Rust toolchain instead of .NET. Packaging is unchanged. The last C# release is still downloaded as the upgrade baseline.
  • AGENTS.md, CONTRIBUTING, README, and the design docs describe the Rust-only layout and the commands to use.

The C# code stays in git history.

Verification

  • Run locally from the repository root: cargo clippy --workspace --all-targets -- -D warnings passes, and cargo test --workspace passes. The two engine_loopback tests are still ignored, as before.
  • Not run here: installer packaging and verification, which need explicit permission, and the release workflow, which only runs on a tag.

Stacking

This PR is stacked on #10, which is stacked on #9. CI runs only on pull requests into main, so no checks will run here until #8 and #9 merge and the stack is retargeted.

🤖 Generated with Claude Code

@squidllee
squidllee force-pushed the t3/rust-codebase-cleanup branch from 706bef9 to 3e70bc2 Compare November 1, 2026 22:26
@squidllee
squidllee force-pushed the t3/rust-installer branch 2 times, most recently from 9110eee to f022a5b Compare November 1, 2026 22:57
@squidllee
squidllee force-pushed the t3/rust-codebase-cleanup branch from 3e70bc2 to 2261df6 Compare November 1, 2026 22:57
@squidllee
squidllee force-pushed the t3/rust-codebase-cleanup branch from 2261df6 to 726c85f Compare November 1, 2026 23:07
@squidllee
squidllee force-pushed the t3/rust-codebase-cleanup branch from 726c85f to 2cbc70b Compare November 1, 2026 23:24
@squidllee
squidllee force-pushed the t3/rust-codebase-cleanup branch from 2cbc70b to 489eaf8 Compare November 1, 2026 23:34
@squidllee
squidllee force-pushed the t3/rust-codebase-cleanup branch from 489eaf8 to 3ca230f Compare November 1, 2026 23:35
@squidllee
squidllee force-pushed the t3/rust-codebase-cleanup branch from 3ca230f to 7e7de8b Compare November 1, 2026 23:43
@squidllee
squidllee force-pushed the t3/rust-codebase-cleanup branch from 7e7de8b to a946e7d Compare November 1, 2026 23:53
@squidllee
squidllee force-pushed the t3/rust-codebase-cleanup branch from a946e7d to 0eb713c Compare November 1, 2026 23:56
@squidllee
squidllee force-pushed the t3/rust-codebase-cleanup branch from 0eb713c to 877efb1 Compare November 2, 2026 00:07
@squidllee
squidllee changed the base branch from t3/rust-installer to main November 2, 2026 00:12
squidllee and others added 5 commits November 1, 2026 19:12
The C# WPF app is removed and the Cargo workspace moves to the repository root, so the docs are updated to match: crate layout and commands in AGENTS.md and CONTRIBUTING.md, the Cargo.toml version source in INSTALLER.md, the superseded WPF decisions in DESIGN.md, and a 0.1.2 entry in the changelog.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
- DESIGN.md matches the shipped 760x540/720x500 window

- Icon docs describe installer/favicon.ico and runtime-drawn app icons

- Provenance comments no longer point at deleted C# paths

- verify-installer validates the workspace version format before splitting

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@squidllee
squidllee force-pushed the t3/rust-codebase-cleanup branch from 877efb1 to cf58849 Compare November 2, 2026 00:12
@squidllee
squidllee merged commit 0729cb9 into main Nov 2, 2026
2 checks passed
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.

1 participant