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: 175,143 of 195,762
Downloads: 2,550

Daily

Ranking: 50,800 of 195,747
Downloads: 4

Depended by

RankDownloadsName

Depends on

RankDownloadsName
166316,268,779rouge
1,32635,090,221rb_sys

Owners

#GravatarHandle
1iconlinyiru