aboutsummaryrefslogtreecommitdiffstats
path: root/askama_shared/src/input.rs
diff options
context:
space:
mode:
authorLibravatar René Kijewski <kijewski@library.vetmed.fu-berlin.de>2022-04-13 11:50:10 +0200
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2022-04-13 13:18:27 +0200
commitfc779e22c3bfa0e94df208a88a361b99e28a9129 (patch)
tree3a09dfd2352be5d217317f03561170e3baaf4f0c /askama_shared/src/input.rs
parentab39ced64e4a56b741ee32487d3340e008c7e4fb (diff)
downloadaskama-fc779e22c3bfa0e94df208a88a361b99e28a9129.tar.gz
askama-fc779e22c3bfa0e94df208a88a361b99e28a9129.tar.bz2
askama-fc779e22c3bfa0e94df208a88a361b99e28a9129.zip
Remove `unsafe { … }` code from askama_escape
Using only safe code is actually same as fast as the previous "unsafe" code according to the crate's benchmark. The code was extracted from [markup]'s escape function in [escape.rs], written by Utkarsh Kukreti <utkarshkukreti@gmail.com>, licensed as `MIT OR Apache-2.0`. [markup]: https://crates.io/crates/markup [escape.rs]: https://github.com/utkarshkukreti/markup.rs/blob/8ec40428483790b2c296e907e7be4147b157fe8f/markup/src/escape.rs#L1-L21
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions