Skip to main content

move_diff/
lib.rs

1//! Library surface for `move-diff`'s renderer.
2//!
3//! The `move-diff` binary is this crate's only intended product; this `lib`
4//! target exists so the `move-diff-svg` binary (gated behind the `svg-gen`
5//! feature — see `Cargo.toml`) can call the real [`annotate_diff::render`]
6//! instead of re-implementing or hand-authoring its output. `diff_parse`
7//! stays private: it is `annotate_diff`'s implementation detail, not part
8//! of this crate's public surface.
9
10pub mod annotate_diff;
11mod diff_parse;