sfackler / rust-native-tls

Apache License 2.0
468 stars 197 forks source link

Replace `lazy_static` with `once_cell` #267

Closed daxpedda closed 1 year ago

daxpedda commented 1 year ago

This replaces lazy_static with once_cell. Couple of reasons:

sfackler commented 1 year ago

The macos build is failing (ignore the Linux one, I will fix that).

daxpedda commented 1 year ago

Done. Thank you for pinging.

sfackler commented 1 year ago
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
daxpedda commented 1 year ago

Apologies, that was pretty lazy of me. I tried it out locally now.