cuprate
cuprate copied to clipboard
Replace `OnceLock` + `fn` with `LazyLock`
What
Closes https://github.com/Cuprate/cuprate/issues/236.
This replaces the OnceLock + fns that were used in a LazyLock type of way for the entire codebase. There's other OnceLocks remaining but they are used differently.