| 1 | use daft::Diffable; |
| 2 | use std::collections::{BTreeMap, BTreeSet}; |
| 3 | use uuid::Uuid; |
| 4 | |
| 5 | #[derive(Debug, Eq, PartialEq, Diffable)] |
| 6 | struct WithAttrs { |
| 7 | a: i32, |
| 8 | b: BTreeMap<Uuid, BTreeSet<usize>>, |
| 9 | #[daft(ignore)] |
| 10 | c: std::time::Instant, |
| 11 | #[daft(leaf)] |
| 12 | d: Lazy, |
| 13 | #[daft(leaf)] |
| 14 | e: usize, |
| 15 | f: usize, |
| 16 | } |
| 17 | |
| 18 | #[derive(Debug, Eq, PartialEq, Diffable)] |
| 19 | struct Lazy { |
| 20 | x: usize, |
| 21 | y: usize, |
| 22 | } |
| 23 | |
| 24 | fn main() {} |