anki/rslib
Damien Elmes dee0a2fc18 fix reposition not being applied in browser sort order
https://forums.ankiweb.net/t/reposition-function-not-working/5817

Also changed id->cid in the non-sorting case, as otherwise when
using all_searched_cards() on a sorted list, the results will be wrong.
2020-12-16 10:58:46 +10:00
..
.cargo initial Bazel conversion 2020-11-01 14:26:58 +10:00
build fix compilation of rslib outside Bazel 2020-11-24 18:51:19 +10:00
cargo Update rslib dep nom 2020-12-15 08:19:52 +00:00
src fix reposition not being applied in browser sort order 2020-12-16 10:58:46 +10:00
templates migrate card stats to backend 2020-06-15 17:22:16 +10:00
tests/support initial Bazel conversion 2020-11-01 14:26:58 +10:00
.gitignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
backend.proto move backend.proto into rslib/ 2020-11-02 16:28:31 +10:00
BUILD.bazel update rules_rust for separate compile_data arg 2020-12-01 16:48:45 +10:00
Cargo.toml Update rslib dep nom 2020-12-15 08:19:52 +00:00
README.md minor doc updates 2020-12-11 22:37:12 +10:00
rustfmt.bzl initial Bazel conversion 2020-11-01 14:26:58 +10:00

Anki's Rust code.

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

Rust editor support is still fairly new, but currently Visual Studio Code + Rust Analyzer seems to be the least bad option. For the latter, you'll want to enable the options to expand proc macros, and run cargo check on startup.

After running 'code .' from this folder, it may take Rust Analyzer a while to become ready, and you may need to save a file to trigger it to run.

You may also want to enable the worker mentioned in ../docs/development.md when compiling from a terminal.