anki/rslib
Damien Elmes 0bb273a0ed replace the old stripHTML() methods with the backend implementation
Python's regex engine performs pathologically on regexes like
'<!--.*?-->' when fed a large string of repeating '<!--' clauses.
Thanks to JaimeSlome / security@huntr.dev for the report; closes #1380.

Solved by switching to the Rust implementation, which does not suffer
from this issue.

entsToText(), minimizeHTML(), and the old regex constants have been
removed; they do not appear to be used by any add-ons.
2021-10-01 23:15:45 +10:00
..
.cargo initial Bazel conversion 2020-11-01 14:26:58 +10:00
build Remove native HelpPage enum 2021-07-22 16:32:49 +02:00
cargo add linkcheck to Bazel 2021-07-23 20:22:32 +10:00
i18n avoid extra allocation in replacement 2021-10-01 14:43:38 +10:00
src replace the old stripHTML() methods with the backend implementation 2021-10-01 23:15:45 +10:00
templates migrate card stats to backend 2020-06-15 17:22:16 +10:00
tests use separate integration test for links 2021-07-24 10:12:25 +10:00
.gitignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
BUILD.bazel fix reqwest build on Linux again 2021-07-24 10:18:09 +10:00
Cargo.toml Add links.rs for checking and building links 2021-07-22 10:03:03 +02:00
empty.rs add a valid, empty file so the check action works in Rust Analyzer 2021-05-05 15:53:27 +10:00
README.md add some code editing/completion docs 2020-12-16 14:16:08 +10:00
rustfmt.bzl update to the latest rules_rust + security framework update 2021-03-27 19:28:19 +10:00
rustfmt.toml tidy up Rust imports 2021-04-18 18:38:54 +10:00

Anki's Rust code.

backend.proto stores the interfaces used to communicate backend messages between Rust, Python and TypeScript.