clankerdiff_syntax/lib.rs
1//! Portable syntax highlighting APIs.
2mod highlight;
3mod language;
4
5pub use clankerdiff_fingerprint::SourceSequenceId;
6pub use clankerdiff_theme::{
7 DiffPalette, DiffTheme, FontStyle, HighlightSpan, Rgba, SyntaxStyle, SyntaxTheme,
8};
9pub use highlight::{
10 CacheConfig, CacheKey, DocumentHighlights, HighlightStats, SyntaxHighlighter, SyntaxStream,
11 SyntaxStreamError, SyntaxStreamUpdate, ThemedHighlighter, empty_spans,
12};
13pub use language::{LanguageHint, resolve_language};