Replace once_cell::sync::Lazy
with std::cell::LazyCell
once it's stable
#453
Labels
once_cell::sync::Lazy
with std::cell::LazyCell
once it's stable
#453
We depend on
once_cell
for initialization ofstatic
items in thesov_schema_db
crate, but we may be able to remove that dependency asstd
hasstd::cell::LazyCell
, which is functionally equivalent (still unstable, though). While we could opt-in into the feature with#![feature(lazy_cell)]
, I don't really see a point –we wouldn't even removeonce_cell
from our dependency tree, just as a direct dependency– but let's make a note of switching away fromonce_cell
whenstd
has everything we need stabilized.The text was updated successfully, but these errors were encountered: