Anki/ftl
a.r d9969a9f4f
lazy_static → once_cell → stabilized versions (#3447)
* Anki: Replace lazy_static with once_cell

Unify to once_cell, lazy_static's replacement. The latter in unmaintained.

* Anki: Replace once_cell with stabilized LazyCell / LazyLock as far as possible

Since 1.80: https://github.com/rust-lang/rust/issues/109736 and https://github.com/rust-lang/rust/pull/98165

Non-Thread-Safe Lazy → std::cell::LazyCell https://doc.rust-lang.org/nightly/std/cell/struct.LazyCell.html

Thread-safe SyncLazy → std::sync::LazyLock https://doc.rust-lang.org/nightly/std/sync/struct.LazyLock.html

The compiler accepted LazyCell only in minilints.

The final use in rslib/src/log.rs couldn't be replaced since get_or_try_init has not yet been standardized: https://github.com/rust-lang/rust/issues/109737

* Declare correct MSRV (dae)

Some of our deps require newer Rust versions, so this was misleading.

Updating the MSRV also allows us to use .inspect() on Option now
2024-09-30 23:35:06 +10:00
..
core Feat/forgetting curve in card info (#3437) 2024-09-27 19:32:40 +10:00
core-repo@62775c9f23 Update translations 2024-09-27 19:38:16 +10:00
qt Backup warning needs a new string 2024-09-27 19:36:58 +10:00
qt-repo@5b71294df8 Update translations 2024-09-27 19:38:16 +10:00
src lazy_static → once_cell → stabilized versions (#3447) 2024-09-30 23:35:06 +10:00
usage Add Rust bin to deprecate unused ftl entries (#2364) 2023-02-07 11:56:14 +10:00
.gitignore Add an improved tool for copying/moving FTL strings 2023-07-04 13:39:01 +10:00
Cargo.toml lazy_static → once_cell → stabilized versions (#3447) 2024-09-30 23:35:06 +10:00
copy-core-string.sh Move 'review' out of 'no need to translate' section 2023-11-04 08:45:02 +10:00
extract-strings.py Use type narrowing for extract-strings and transform-string 2023-03-31 14:02:50 +10:00
format.py Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
format_check.py run black/isort on Python scripts 2021-04-14 18:22:02 +10:00
ftl Add an improved tool for copying/moving FTL strings 2023-07-04 13:39:01 +10:00
move-from-ankimobile Add an improved tool for copying/moving FTL strings 2023-07-04 13:39:01 +10:00
README.md fix documentation links 2021-06-03 16:51:03 +10:00
remove-unused.sh Don't store used FTL keys in git 2022-04-09 12:38:54 +10:00
update-ankidroid-usage.sh Add Rust bin to deprecate unused ftl entries (#2364) 2023-02-07 11:56:14 +10:00
update-ankimobile-usage.sh Add Rust bin to deprecate unused ftl entries (#2364) 2023-02-07 11:56:14 +10:00

Files related to Anki's translations.

Please see https://translating.ankiweb.net/anki/developers