You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* 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: rust-lang/rust#109736 and rust-lang/rust#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: rust-lang/rust#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
0 commit comments