escape-simd 0.1.0

Shared SIMD kernels for JSON and HTML string escaping.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# escape-simd

Shared SIMD kernels for JSON and HTML string escaping.

This crate is the implementation. Depend on [`json-escape-simd`](https://crates.io/crates/json-escape-simd)
or [`html-escape-simd`](https://crates.io/crates/html-escape-simd) unless you need both behind feature flags.

```toml
escape-simd = { version = "0.1", features = ["json"] }
escape-simd = { version = "0.1", features = ["html"] }
```

- `json``escape_simd::json::{escape, escape_into}`
- `html``escape_simd::html::{escape_html, escape_html_into, InputTooLarge}`
- `avx512` — enable the AVX-512 kernel (runtime-detected)
- `asan` — force the bounded tail-copy path for sanitizers