escape-simd 0.1.0

Shared SIMD kernels for JSON and HTML string escaping.
Documentation
  • Coverage
  • 100%
    1 out of 1 items documented0 out of 0 items with examples
  • Size
  • Source code size: 70.3 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 163.9 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 2s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • napi-rs/escape-simd
    21 6 2
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • Brooooooklyn

escape-simd

Shared SIMD kernels for JSON and HTML string escaping.

This crate is the implementation. Depend on json-escape-simd or html-escape-simd unless you need both behind feature flags.

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