#html #escaping #simd

v_htmlescape

The simd optimized HTML escaping code

10 releases

✓ Uses Rust 2018 edition

0.4.3 Mar 7, 2019
0.4.2 Feb 14, 2019
0.4.0 Jan 25, 2019
0.3.2 Dec 27, 2018
0.1.2 Dec 4, 2018

#3 in #escaping

Download history 80/week @ 2018-12-20 14/week @ 2018-12-27 114/week @ 2019-01-03 2782/week @ 2019-01-10 3545/week @ 2019-01-17 4751/week @ 2019-01-24 5463/week @ 2019-01-31 6442/week @ 2019-02-07 7753/week @ 2019-02-14 7842/week @ 2019-02-21 8060/week @ 2019-02-28 9339/week @ 2019-03-07 9633/week @ 2019-03-14 8508/week @ 2019-03-21 9454/week @ 2019-03-28

28,004 downloads per month
Used in 79 crates (9 directly)

MIT/Apache

63KB
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
~31K SLoC

  • build build.rs