5 unstable releases
new 0.3.0 | Nov 6, 2024 |
---|---|
0.2.0 | Oct 25, 2024 |
0.1.2 | Oct 25, 2024 |
0.1.1 | Oct 24, 2024 |
0.1.0 | Oct 24, 2024 |
#84 in #difference
310 downloads per month
Used in diffogus
7KB
127 lines
diffogus
Rust crate to calculate the difference between 2 instances of the same type
Features
- Simple diff of basic rust types
- All integer types
- All floats
- Vectors of elements that implement
Diffable
- HashMaps where value implements
Diffable
- Options of types that implement
Diffable
- Diff between 2 instances of a struct that implements
Diffable
- Implemented manually or with
#[derive(Diff)]
- Implemented manually or with
- Serialize your diffs with
serde
feature flag
lib.rs
:
diffogus_derive
This crate provides a derive macro to help users implement diffing for their types
Dependencies
~325–780KB
~18K SLoC