Skip to content

Rust port of FolderCompare - #1

Merged
darkcoder2000 merged 10 commits into
mainfrom
rust-port
Nov 26, 2026
Merged

darkcoder2000 merged 10 commits into
mainfrom
rust-port

Conversation

@darkcoder2000

@darkcoder2000 darkcoder2000 commented Nov 25, 2026 •

Copy link
Copy Markdown
Owner

Summary

Cross-platform Rust port of FolderCompare, living alongside the existing .NET/WPF app.

  • Cargo workspace (Cargo.toml, crates/): fc-core (UI-free library) and foldercompare (app).
  • fc-core
    • Scan & compare: model, scanner, compare engine, content compare, glob filters, timestamp/path comparison, progress.
    • File operations: planner, executor and safety checks (targets strictly inside their root), report export, Explorer menu layout.
    • Text diff: Myers diff, line/inline diff, comparison, block copy, text codec.
  • App
    • Main window: folder bar, filters, result list, status bar, settings, CLI.
    • File operations UI: preview, overwrite, summary, rename and settings dialogs, context menu.
    • Text compare window: editor panes with filler rows, navigation, block copy, save/reload.
    • Explorer integration, Windows resources/icon, X11 fallback, macOS app bundle script (build/macos/make-app.sh).
  • CI: .github/workflows/rust.yml (build/test) and rust-release.yml; release builds for every OS are published as workflow artifacts.
  • Docs: CLAUDE.md notes for the Rust port, new items in docs/MANUAL_TESTS.md; small change to src/FolderCompare.ShellExt/build.ps1.

Test plan

  • cargo build / cargo test pass on Windows, Linux and macOS (CI)
  • dotnet build / dotnet test still pass
  • Manual checks from docs/MANUAL_TESTS.md (Rust section)
  • Explorer context menu works with the Rust build

🤖 Generated with Claude Code

@darkcoder2000
darkcoder2000 merged commit 6a89b8e into main Nov 26, 2026
14 checks passed
@darkcoder2000
darkcoder2000 deleted the rust-port branch November 26, 2026 14:52
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.

2 participants