Categories: None [Edit]

blusher

https://rubygems.org/gems/blusher
https://github.com/momiji-rs/blusher
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.

Total

Ranking: 170,804 of 198,430
Downloads: 2,975

Daily

Ranking: 41,131 of 198,401
Downloads: 3

Depended by

RankDownloadsName

Depends on

RankDownloadsName
163339,766,312rouge
1,29237,918,875rb_sys

Owners

#GravatarHandle
1iconlinyiru