SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 Rust Diff Projects
-
Many diff tools, such as delta (https://github.com/dandavison/delta) and the ones built into VS Code and IDEs by JetBrains, can configured to highlight changes within each line (by word) and ignore changes to whitespace. Those features save me a lot of time when I review diffs that include indentation changes or variable renames.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
Project mention: Epic Games announces Lore version control system | news.ycombinator.com | 2026-06-17
-
Project mention: Epic Games announces Lore version control system | news.ycombinator.com | 2026-06-17
The five command part isn't really possible but you can use custom diffs for merges, git diff, etc. pretty easily. There are projects like diffsitter ( https://github.com/afnanenayet/diffsitter ) for doing more intelligent diffs like this for supported languages.
-
-
Project mention: The similar crate is underrated: I wrote a colored diff CLI in a weekend | dev.to | 2026-04-15
There's a lot of diff libraries in the Rust ecosystem. Most of them give you "LCS on &str" and leave you to figure out the rest. Mitsuhiko's similar is different. It ships:
-
-
cargo-public-api
List and diff the public API of Rust library crates between releases and commits. Detect breaking API changes and semver violations via CI or a CLI.
-
-
windiff
Tool that allows comparing symbol, type and syscall information of Microsoft Windows binaries across different versions of the OS, using a Web UI and/or LLMs.
-
resym
Cross-platform tool that allows browsing and extracting C and C++ type declarations from PDB files.
-
keepass-diff
A CLI-tool to diff Keepass (.kdbx) files. Useful, if syncing with Dropbox or NextCloud and getting multiple files due to conflicts.
-
Project mention: Show HN: BlazeDiff v2 – Fastest image diff with native binary and SIMD | news.ycombinator.com | 2025-12-19
-
textdistance.rs
🦀📏 Rust library to compare strings (or any sequences). 25+ algorithms, pure Rust, common interface, Unicode support.
-
-
Livediff
⚡ Livediff: Watch file diffs live in your terminal. Minimalist Rust TUI for instant feedback loops.
Repository: https://github.com/SoCkEt7/Livediff Browser demo: https://socket7.github.io/Livediff/
-
-
-
diffx
Semantic diff for structured data (JSON, YAML, TOML, XML, INI, CSV) — compares meaning, not text (by kako-jun)
Project mention: My OSS Stalled for 3 Months Because of Misguided Vibe Coding—This Is the Full Reboot Story | dev.to | 2025-12-15View on GitHub
-
-
kubectl-watch
A kubectl plugin to provide a pretty delta change view of being watched kubernetes resources
-
-
-
Rust Diff discussion
Rust Diff related posts
-
Epic Games announces Lore version control system
-
Sem: New primitive for code understanding – not LSPs, but entities on top of Git
-
LLMs Corrupt Your Documents When You Delegate
-
The similar crate is underrated: I wrote a colored diff CLI in a weekend
-
Difftastic
-
Improved Git Diffs with Delta, Fzf and a Little Shell Scripting
-
A Coherent Vision for the Future of Version Control
-
A note from our sponsor - SaaSHub
www.saashub.com | 20 Jul 2026
Index
What are some of the best open-source Diff projects in Rust? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | delta | 31,498 |
| 2 | difftastic | 25,664 |
| 3 | diffsitter | 2,389 |
| 4 | sad | 2,039 |
| 5 | similar | 1,305 |
| 6 | diffr | 614 |
| 7 | cargo-public-api | 564 |
| 8 | riff | 519 |
| 9 | windiff | 388 |
| 10 | resym | 366 |
| 11 | keepass-diff | 362 |
| 12 | blazediff | 315 |
| 13 | textdistance.rs | 302 |
| 14 | dipa | 272 |
| 15 | Livediff | 212 |
| 16 | kubediff | 185 |
| 17 | treediff-rs | 92 |
| 18 | diffx | 85 |
| 19 | rust-pgdatadiff | 84 |
| 20 | kubectl-watch | 64 |
| 21 | mamediff | 37 |
| 22 | tusker | 17 |
| 23 | tblcompare | 6 |