anki/rslib
RumovZ 31b7464c67
Add card meta for persisting custom scheduling state (#2040)
* Add card meta for persisting custom scheduling state

* Rename meta -> custom_data

* Enforce limits on size of custom data

Large values will slow down table scans of the cards table, and it's
easier to be strict now and possibly relax things in the future than
the opposite.

* Pack card states and customData into a single message

+ default customData to empty if it can't be parsed

Co-authored-by: Damien Elmes <gpg@ankiweb.net>
2022-09-02 11:22:49 +10:00
..
.cargo initial Bazel conversion 2020-11-01 14:26:58 +10:00
benches New TTS/AV tag handling (#1559) 2021-12-17 19:04:42 +10:00
build Deck-specific Limits (#1955) 2022-07-19 18:27:25 +10:00
cargo Partially migrate type answer to backend 2022-07-22 19:28:34 +10:00
i18n Partially migrate type answer to backend 2022-07-22 19:28:34 +10:00
i18n_helpers Partially migrate type answer to backend 2022-07-22 19:28:34 +10:00
linkchecker Partially migrate type answer to backend 2022-07-22 19:28:34 +10:00
src Add card meta for persisting custom scheduling state (#2040) 2022-09-02 11:22:49 +10:00
tests/support move linkchecker into separate crate 2021-12-20 17:27:43 +10:00
.gitignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
bench.sh New TTS/AV tag handling (#1559) 2021-12-17 19:04:42 +10:00
BUILD.bazel Partially migrate type answer to backend 2022-07-22 19:28:34 +10:00
Cargo.toml Partially migrate type answer to backend 2022-07-22 19:28:34 +10:00
empty.rs Backend Custom Study (#1600) 2022-01-20 14:25:22 +10:00
README.md add some code editing/completion docs 2020-12-16 14:16:08 +10:00
rustfmt.bzl Update to latest rules_rust, which unblocks the tokio upgrade 2022-03-03 19:48:17 +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.