facet_diff/
lib.rs

1#![warn(missing_docs)]
2#![forbid(unsafe_code)]
3#![doc = include_str!("../README.md")]
4
5mod diff;
6mod sequences;
7mod tree;
8
9pub use diff::{
10    DiffFormat, DiffOptions, FacetDiff, LeafChange, LeafChangeKind, collect_leaf_changes,
11    diff_new_peek, diff_new_peek_with_options, format_diff, format_diff_compact,
12    format_diff_compact_plain, format_diff_default,
13};
14pub use tree::{EditOp, FacetTree, NodeKind, NodeLabel, build_tree, tree_diff};
15
16// Re-export cinereus types for advanced usage
17pub use cinereus::{Matching, MatchingConfig};
18
19// Re-export core types from facet-diff-core
20pub use facet_diff_core::{
21    ChangeKind, Diff, DiffSymbols, DiffTheme, Interspersed, Path, PathSegment, ReplaceGroup,
22    Updates, UpdatesGroup, Value,
23};
24
25#[cfg(test)]
26mod tests {
27    #[test]
28    fn it_works() {}
29}