mirror of
https://github.com/ankitects/anki.git
synced 2025-11-07 13:17:12 -05:00
* Fix steps being mistaken for seconds * Cap steps at `u32::max` seconds * Fix overflow of steps in Rust * Prevent overflow of `IntervalKind` * Prevent overflow in `revlod/mod.rs` Also replace some `as` with `from` and `try_from` as is recommended to highlight potential issues. * Ensure v2 doesn't store overflowing revlog ivls * Lower steps cap in deck options Whereas large card intervals are converted to days, revlog intervals use i32s to store large numbers of seconds. * Format |
||
|---|---|---|
| .. | ||
| .cargo | ||
| build | ||
| cargo | ||
| i18n | ||
| i18n_helpers | ||
| src | ||
| tests | ||
| .gitignore | ||
| BUILD.bazel | ||
| Cargo.toml | ||
| empty.rs | ||
| README.md | ||
| rustfmt.bzl | ||
| rustfmt.toml | ||
Anki's Rust code.
backend.proto stores the interfaces used to communicate backend messages between Rust, Python and TypeScript.