nix-community / lorri

Your project’s nix-env [maintainer=@Profpatsch,@nyarly]
Apache License 2.0
677 stars 24 forks source link

Migrate from lazy_static to OnceLock #108

Open nyarly opened 6 months ago

nyarly commented 6 months ago

lazy_static is in the process of being deprecated (https://github.com/rust-lang-nursery/lazy-static.rs/issues/214)

As of Rust 1.70, std::sync::OnceLock exists as a replacement. When we can reliably expect 1.70 on our supported Nixpkgs, we should make the switch.