icann / icann-rdap

ICANN implementation of the Registry Data Access Protocol (RDAP)
Apache License 2.0
12 stars 4 forks source link

move to 1.70.0 OnceLock from lazy_static #24

Open anewton1998 opened 1 year ago

anewton1998 commented 1 year ago

Remove dependence on lazy_static and move to Rust 1.70.0's OnceLock.

anewton1998 commented 9 months ago

It might make more sense to delay this until LazyLock is stabilized. https://github.com/rust-lang/rust/issues/109736