#html #escaping #simd

v_htmlescape

The simd optimized HTML escaping code

12 releases

✓ Uses Rust 2018 edition

new 0.4.5 Aug 11, 2019
0.4.4 Aug 11, 2019
0.4.3 Mar 7, 2019
0.4.2 Feb 14, 2019
0.1.2 Dec 4, 2018

#15 in Template engine

Download history 8949/week @ 2019-04-28 9287/week @ 2019-05-05 11934/week @ 2019-05-12 9874/week @ 2019-05-19 11375/week @ 2019-05-26 13712/week @ 2019-06-02 11839/week @ 2019-06-09 8696/week @ 2019-06-16 7856/week @ 2019-06-23 7437/week @ 2019-06-30 7338/week @ 2019-07-07 7318/week @ 2019-07-14 7072/week @ 2019-07-21 7747/week @ 2019-07-28 8606/week @ 2019-08-04

39,567 downloads per month
Used in 90 crates (9 directly)

MIT/Apache

64KB
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