Anki/rslib
Damien Elmes 9b5da546be Check collection size when syncing
Currently we only check the size on a one-way sync, allowing users
to bypass the limits by incrementally syncing a lot of material.
To prevent this:

- The server now checks if the collection is already oversize,
and forces a one-way sync if it is
- The client checks if the local collection is oversize and refuses
to proceed, so they don't waste time uploading material that will
likely trigger the limit the next time they sync.
2025-03-10 20:28:57 +07:00
..
benches Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
i18n Bump Rust to 1.81 for latest CVE 2024-09-05 12:39:59 +07:00
io Fix flaky tests (#3541) 2024-11-05 18:23:50 +10:00
linkchecker lazy_static → once_cell → stabilized versions (#3447) 2024-09-30 23:35:06 +10:00
process Corrected minor non-idiomatic snippet of code (#3108) 2024-04-01 11:34:23 +01:00
proto Bump Rust deps 2024-10-21 15:34:04 +10:00
proto_gen lazy_static → once_cell → stabilized versions (#3447) 2024-09-30 23:35:06 +10:00
src Check collection size when syncing 2025-03-10 20:28:57 +07:00
sync Add distroless Dockerfile and implement internal health check (#3366) 2024-08-29 17:05:33 +07:00
tests/support move linkchecker into separate crate 2021-12-20 17:27:43 +10:00
.gitignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
bench.sh Update Rust and Python deps (#2567) 2023-07-01 18:26:43 +10:00
build.rs Fix building outside workspace 2023-07-02 18:22:44 +10:00
Cargo.toml Fully switch to File::set_times() from utime crate (#3503) 2024-10-16 02:35:37 +10:00
README.md Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
rust_interface.rs Update nightly formatter 2023-09-02 16:13:50 +10:00

Anki's Rust code.