#html #escaping #simd

v_htmlescape

The simd optimized HTML escaping code

9 releases

✓ Uses Rust 2018 edition

0.4.2 Feb 14, 2019
0.4.1 Feb 8, 2019
0.4.0 Jan 25, 2019
0.3.2 Dec 27, 2018
0.1.2 Dec 4, 2018

#3 in Template engine

Download history 67/week @ 2018-11-30 7/week @ 2018-12-07 18/week @ 2018-12-14 86/week @ 2018-12-21 25/week @ 2018-12-28 378/week @ 2019-01-04 3028/week @ 2019-01-11 3910/week @ 2019-01-18 4826/week @ 2019-01-25 5671/week @ 2019-02-01 6534/week @ 2019-02-08

8,183 downloads per month
Used in 64 crates (3 directly)

MIT/Apache

60KB
1K SLoC

v_htmlescape Documentation Latest version

The simd optimized html escape code

Quick start

extern crate v_htmlescape;
use v_htmlescape::escape;

print!("{}", escape("foo<bar"));

lib.rs:

Quick start

extern crate v_htmlescape;
use v_htmlescape::escape;

print!("{}", escape("foo<bar"));

Dependencies

~1.5MB
~33K SLoC

  • build build.rs