| Crates.io | syndiff |
| lib.rs | syndiff |
| version | 0.2.0 |
| created_at | 2026-01-12 15:48:35.462155+00 |
| updated_at | 2026-01-15 16:18:27.188703+00 |
| description | Standalone library that implements a structural diff algorithm inspired by Difftastic |
| homepage | |
| repository | |
| max_upload_size | |
| id | 2038051 |
| size | 66,836 |
syndiff is a lightweight, standalone library that implements a structural diff algorithm inspired by Difftastic, designed to be embedded inside other tools and applications.
Traditional diffs treat code as text. Syndiff treats code as having shape.
This library exists to make syntax-aware diffing easy to integrate into editors, code review tools, language servers, and research projects - without dragging along a full application.
It does not aim to replace Difftastic. It distills its core ideas into a reusable form.
Inspired by Difftastic, created by Wilfred Hughes. All credit for the original algorithmic ideas belongs there. Any bugs introduced here are new and entirely our own.