blusher routes Ruby's rouge lexing — and, for the common HTML path, its formatting — through the Rust `carmine` engine, which executes rule tables extracted from rouge's own lexers. For an unadorned Rouge::Formatters::HTML pipeline it fuses lex+format in Rust and returns one String, crossing the Ruby boundary once instead of per-token: ~1.7x faster on a mixed corpus (2.5x+ on large files), byte-identical, with transparent fallback to rouge for callback lexers and other formatters. Verified against rouge's full lexer spec suite (757/757). The engine's raw 4.6x is realized Rust-to-Rust.
Required Ruby Version
>= 3.0
Required Rubygems Version
>= 3.3.11
Authors
momiji-rs
Versions
- 0.1.2 June 17, 2026 (266 KB)
- 0.1.2 June 17, 2026 x86_64-linux (4.82 MB)
- 0.1.2 June 17, 2026 x86_64-linux-musl (4.82 MB)
- 0.1.2 June 17, 2026 x86_64-darwin (4.35 MB)
- 0.1.2 June 17, 2026 x64-mingw-ucrt (6.92 MB)
- 0.1.1 June 17, 2026 (265 KB)