paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.network/
1.87k stars 684 forks source link

Replace `lazy_static` with `OnceLock` #5641

Closed bkchr closed 1 month ago

bkchr commented 1 month ago

We should be able to replace all lazy_static usages with OnceLock from the Rust standard library. This will bring us less dependencies. The lazy_static README gives an example on how to do this.

programskillforverification commented 1 month ago

I would like to work on this, please assign to me

bkchr commented 1 month ago

Done