Rust Diff

Open-source Rust projects categorized as Diff
Rust CLI Git TUI Delta

Top 23 Rust Diff Projects

  1. delta

    A syntax-highlighting pager for git, diff, grep, rg --json, and blame output

    Project mention: LLMs Corrupt Your Documents When You Delegate | news.ycombinator.com | 2026-05-09

    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.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. difftastic

    a structural diff that understands syntax 🟥🟩

    Project mention: Epic Games announces Lore version control system | news.ycombinator.com | 2026-06-17
  4. diffsitter

    A tree-sitter based AST difftool to get meaningful semantic diffs

    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.

  5. sad

    CLI search and replace | Space Age seD

  6. similar

    A high level diffing library for rust based on diffs

    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:

  7. diffr

    Yet another diff highlighting tool

  8. 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.

  9. riff

    A syntax highter for diffs, clarifying which parts of lines have changed (by walles)

  10. 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.

  11. resym

    Cross-platform tool that allows browsing and extracting C and C++ type declarations from PDB files.

  12. keepass-diff

    A CLI-tool to diff Keepass (.kdbx) files. Useful, if syncing with Dropbox or NextCloud and getting multiple files due to conflicts.

  13. blazediff

    Blazing-fast diff ecosystem for JavaScript applications

    Project mention: Show HN: BlazeDiff v2 – Fastest image diff with native binary and SIMD | news.ycombinator.com | 2025-12-19
  14. textdistance.rs

    🦀📏 Rust library to compare strings (or any sequences). 25+ algorithms, pure Rust, common interface, Unicode support.

  15. dipa

    dipa makes it easy to efficiently delta encode large Rust data structures.

  16. Livediff

    ⚡ Livediff: Watch file diffs live in your terminal. Minimalist Rust TUI for instant feedback loops.

    Project mention: I built a live diff monitor for the terminal in Rust | dev.to | 2026-06-14

    Repository: https://github.com/SoCkEt7/Livediff Browser demo: https://socket7.github.io/Livediff/

  17. kubediff

    Source VS Deployed

  18. treediff-rs

    Extract differences between arbitrary datastructures

  19. 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-15

    View on GitHub

  20. rust-pgdatadiff

    Sequence & table data comparison between 2 PostgresQL databases

  21. kubectl-watch

    A kubectl plugin to provide a pretty delta change view of being watched kubernetes resources

  22. mamediff

    A TUI editor for managing unstaged and staged Git diffs

  23. tusker

    PostgreSQL schema diffing, migration running, and type-safe queries.

  24. tblcompare

    a fast tabular data comparison utility

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Rust Diff discussion

Log in or Post with

Rust Diff related posts

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

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com