clankerdiff_ratatui/
lib.rs1#[cfg(any(feature = "diff-review", feature = "markdown-review"))]
6mod annotation;
7#[cfg(feature = "diff-preview")]
8mod diff_preview;
9#[cfg(feature = "diff-review")]
10mod drawer;
11#[cfg(feature = "diff-review")]
12mod input;
13#[cfg(feature = "markdown")]
14mod markdown;
15#[cfg(feature = "markdown-review")]
16mod markdown_review;
17#[cfg(feature = "diff-review")]
18mod patch_layout;
19#[cfg(feature = "diff-review")]
20mod render;
21#[cfg(feature = "diff-review")]
22mod state;
23#[cfg(any(feature = "diff-review", feature = "markdown-review"))]
24mod style;
25#[cfg(feature = "syntax")]
26mod syntax;
27#[cfg(feature = "test-support")]
28pub mod testing;
29#[cfg(any(feature = "diff-review", feature = "markdown-review"))]
30mod theme_picker;
31#[cfg(any(feature = "diff-review", feature = "markdown-review"))]
32pub mod ui;
33#[cfg(any(feature = "diff-review", feature = "markdown-review"))]
34mod widgets;
35
36#[cfg(feature = "diff-preview")]
37pub use diff_preview::{DiffPreviewOptions, render_diff_preview};
38#[cfg(feature = "diff-review")]
39pub use input::{DiffReviewInput, handle_crossterm_event};
40#[cfg(feature = "markdown")]
41pub use markdown::{
42 MarkdownRenderOptions, MarkdownRenderStats, MarkdownRenderer, StreamingMarkdownState,
43};
44#[cfg(feature = "markdown-review")]
45pub use markdown_review::{
46 MarkdownFocusPane, MarkdownReviewEvent, MarkdownReviewInput, MarkdownReviewState,
47 MarkdownReviewWidget, handle_crossterm_event as handle_markdown_crossterm_event,
48};
49#[cfg(feature = "diff-review")]
50pub use render::DiffReviewWidget;
51#[cfg(feature = "diff-review")]
52pub use state::{DiffReviewState, DiffReviewStatus, FocusPane, RepositoryOperationStatus};
53#[cfg(any(feature = "diff-review", feature = "markdown-review"))]
54pub use style::{RatatuiTheme, RatatuiUiTheme};
55#[cfg(feature = "syntax")]
56pub use syntax::highlighted_line;
57
58#[cfg(feature = "diff-review")]
60pub type DiffReviewEvent = clankerdiff_core::DiffReviewEvent;