mirror of
https://github.com/ankitects/anki.git
synced 2025-12-01 00:47:12 -05:00
- move logic out of the storage layer - its job is only to read and write data from the DB - avoid the Result within a Result - return the preferred case as an option, so we can avoid a copy in the unchanged case - return a Cow when normalizing, so we can avoid copying in the unchanged case - add tags directly in clear_unused_tags(), so we avoid doing lookups for every tag in the tag list |
||
|---|---|---|
| .. | ||
| .cargo | ||
| build | ||
| cargo | ||
| src | ||
| templates | ||
| tests/support | ||
| .clang-format | ||
| .gitignore | ||
| backend.proto | ||
| BUILD.bazel | ||
| Cargo.toml | ||
| clang_format.bzl | ||
| proto_format.py | ||
| README.md | ||
| rustfmt.bzl | ||
Anki's Rust code.
backend.proto stores the interfaces used to communicate backend messages between Rust, Python and TypeScript.