Anki/rslib
Damien Elmes 3dad3c90d0 add .sql file formatter
Uses the logic from the sqltools VSCode add-on, with a workaround
for the use of 'type' in some table columns.

By detecting the presence of 'BUILD_WORKSPACE_DIRECTORY' we can tell
if the rule is running in test mode or was run directly, avoiding the
need for separate check and fix rules. It might be nice to extend this
to other formatting rules in the future as well.
2021-01-09 14:22:49 +10:00
..
.cargo initial Bazel conversion 2020-11-01 14:26:58 +10:00
build don't pass BUILDINFO into build script 2020-12-21 16:04:29 +10:00
cargo add aarch64 Linux to cargo; update deps 2020-12-30 13:33:16 +10:00
src reformat .sql files 2021-01-09 14:08:55 +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 Merge branch 'master' of https://github.com/ankitects/anki into norm-search 2021-01-06 20:57:24 +01:00
BUILD.bazel add .sql file formatter 2021-01-09 14:22:49 +10:00
Cargo.toml update prost to new 0.7 release+auto stage changes 2020-12-28 10:12:35 +10:00
README.md add some code editing/completion docs 2020-12-16 14:16:08 +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.