diffus/
lib.rs

1pub mod diffable_impls;
2pub mod edit;
3mod lcs;
4pub mod same;
5mod twodvec;
6
7pub trait Diffable<'a> {
8    type Diff: 'a;
9
10    fn diff(&'a self, other: &'a Self) -> edit::Edit<'a, Self>;
11}
12
13pub trait Same {
14    fn same(&self, other: &Self) -> bool;
15}
16
17#[cfg(feature = "derive")]
18#[doc(hidden)]
19pub use diffus_derive::*;