| Crates.io | facet-diff-core |
| lib.rs | facet-diff-core |
| version | 0.43.2 |
| created_at | 2025-12-11 16:26:44.01616+00 |
| updated_at | 2026-01-23 18:03:28.247364+00 |
| description | Core types and helpers for diff rendering in Facet |
| homepage | https://facet.rs |
| repository | https://github.com/facet-rs/facet |
| max_upload_size | |
| id | 1980041 |
| size | 276,602 |
Core types and helpers for diff rendering in Facet.
This crate provides shared infrastructure for rendering diffs across different serialization formats (XML, JSON, TOML, etc.).
| Symbol | Meaning | Color |
|---|---|---|
- |
Deleted | Red |
+ |
Inserted | Green |
← |
Moved from here | Blue |
→ |
Moved to here | Blue |
Keys/field names stay neutral, only the changed VALUES are colored:
- fill="red" <- "red" is red, "fill=" is white
+ fill="blue" <- "blue" is green, "fill=" is white
This crate is typically used by serializers (facet-xml, facet-json, etc.) to
render diffs consistently. You probably want to use facet-diff directly
instead of this crate.
Thanks to all individual sponsors:
...along with corporate sponsors:
...without whom this work could not exist.
The facet logo was drawn by Misiasart.
Licensed under either of:
at your option.