syndiff

Crates.iosyndiff
lib.rssyndiff
version0.2.0
created_at2026-01-12 15:48:35.462155+00
updated_at2026-01-15 16:18:27.188703+00
descriptionStandalone library that implements a structural diff algorithm inspired by Difftastic
homepage
repository
max_upload_size
id2038051
size66,836
Marco Mihai Condrache (marcocondrache)

documentation

https://docs.rs/syndiff/

README

syndiff

syndiff is a lightweight, standalone library that implements a structural diff algorithm inspired by Difftastic, designed to be embedded inside other tools and applications.

✦ Philosophy

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.

✦ Inspiration

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.

Commit count: 0

cargo fmt