Skip to main content

octorus/
lib.rs

1//! octorus - A TUI tool for GitHub PR review
2//!
3//! This library exposes modules for benchmarking purposes.
4
5// All modules need to be public for the library to compile,
6// as they have internal dependencies.
7pub mod ai;
8pub mod app;
9pub mod cache;
10pub mod config;
11pub mod diff;
12pub mod editor;
13pub mod github;
14pub mod keybinding;
15pub mod language;
16pub mod loader;
17pub mod symbol;
18pub mod syntax;
19pub mod ui;
20
21// Re-export commonly used types for benchmarks
22pub use app::{CachedDiffLine, DiffCache, InternedSpan};
23pub use diff::{classify_line, get_line_info, LineType};
24pub use syntax::ParserPool;
25pub use ui::diff_view::{build_diff_cache, render_cached_lines};