linebender / druid

A data-first Rust-native UI design toolkit.
https://linebender.org/druid/
Apache License 2.0
9.53k stars 568 forks source link

Replace lazy_static with once_cell #2263

Closed jplatte closed 1 year ago

jplatte commented 2 years ago

lazy_static is increasingly getting replaced by once_cell and it's nice not to have multiple dependencies for the same thing.

jplatte commented 2 years ago

I haven't seen an MSRV specified anywhere. Happy to reduce the minimum version of once_cell if maintainers prefer.

raphlinus commented 2 years ago

Druid is experimental, so I have no problem advancing the MSRV. I'm happy to see stuff move forward.

jplatte commented 2 years ago

So can this be merged then? :)

jplatte commented 1 year ago

Rebased, and lowered the minimum version for once_cell because it doesn't really hurt.