anki/rslib
Damien Elmes fbd91b22f5 tidy up UTC offset handling/timing calculations
- use the TimestampSecs newtype instead of raw i64s
- use FixedOffset instead of a minutes_west offset
- check localOffset each time the timing is calculated, and set it
if it's stale - even for v1.
- check for and fix missing rollover when calculating timing
- stop explicitly passing localOffset in the sync/start call
2021-01-12 21:32:56 +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 update Rust deps; add async_trait 2021-01-11 19:19:45 +10:00
src tidy up UTC offset handling/timing calculations 2021-01-12 21:32:56 +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
.clang-format add .clang-format so VS Code preserves formatting style on .proto save 2021-01-12 18:47:08 +10:00
.gitignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
backend.proto tidy up UTC offset handling/timing calculations 2021-01-12 21:32:56 +10:00
BUILD.bazel allow normal sync tests to run offline 2021-01-12 18:47:08 +10:00
Cargo.toml update Rust deps; add async_trait 2021-01-11 19:19:45 +10:00
clang_format.bzl add clang-format for backend.proto formatting 2021-01-09 17:08:50 +10:00
proto_format.py fix protobuf formatting adding carriage returns on Windows 2021-01-10 08:48:20 +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.