exein-io/pulsar

Drop `lazy_static` usage and use `OnceCell`

Closed this issue · 0 comments

Rust 1.70 now includes OnceCell, which should make our dependency on lazy_static unneeded. We should port our code to it.

Possible reasons not to it: Rust 1.70 just came out and could take some time before being available on projects sticking to an older version (I'm thinking about Yocto)