Closed daxpedda closed 1 year ago
The macos build is failing (ignore the Linux one, I will fix that).
Done. Thank you for pinging.
error[E0432]: unresolved import `self::once_cell::Lazy`
--> src/imp/security_framework.rs:25:5
|
25 | use self::once_cell::Lazy;
| ^^^^^^^^^^^^^^^^^^^^^ no `Lazy` in the root
Apologies, that was pretty lazy of me. I tried it out locally now.
This replaces
lazy_static
withonce_cell
. Couple of reasons:lazy_static
toonce_cell
, so hopefully one day we can eliminatelazy_static
from the dependency tree.lazy_static
is unmaintained.once_cell
is much closer to whats going to be stabilized in Rust v1.70 and future versions: https://github.com/rust-lang/rust/issues/74465.