cinereus

Crates.iocinereus
lib.rscinereus
version0.42.0
created_at2025-12-10 05:50:23.968385+00
updated_at2026-01-06 14:24:48.672363+00
descriptionGumTree-style tree diffing with Chawathe edit script generation
homepagehttps://facet.rs
repositoryhttps://github.com/facet-rs/facet
max_upload_size
id1977555
size44,082
Amos Wenger (fasterthanlime)

documentation

README

cinereus

Coverage Status crates.io documentation MIT/Apache-2.0 licensed Discord

GumTree-style tree diffing with Chawathe edit script generation.

This crate provides a generic tree diffing algorithm based on the GumTree approach:

  1. Top-down matching: Finds identical subtrees by hash
  2. Bottom-up matching: Matches remaining nodes by structural similarity
  3. Chawathe edit script: Generates minimal INSERT, DELETE, UPDATE, and MOVE operations

Used by facet-diff for structural comparison of Facet types.

LLM contribution policy

Sponsors

Thanks to all individual sponsors:

GitHub Sponsors Patreon

...along with corporate sponsors:

AWS Zed Depot

...without whom this work could not exist.

Special thanks

The facet logo was drawn by Misiasart.

License

Licensed under either of:

at your option.

Commit count: 3380

cargo fmt