Replace the lazy_static crate with std::sync::LazyLock in components/net (#33046)

* replace in net/fetch/methods.rs

Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>

* replace in net/hosts.rs

Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>

* replace in net/async_runtime.rs

Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>

* replace in net/tests/main.rs

Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>

* remove lazy_static crate from components/net

Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>

---------

Signed-off-by: Hayashi Mikihiro <34ttrweoewiwe28@gmail.com>
This commit is contained in:
Hayashi Mikihiro 2024-08-14 21:15:55 +09:00 committed by GitHub
parent 6be99241c6
commit 65f90ff1fd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 15 additions and 26 deletions

1
Cargo.lock generated
View file

@ -4489,7 +4489,6 @@ dependencies = [
"hyper_serde",
"imsz",
"ipc-channel",
"lazy_static",
"libflate",
"log",
"malloc_size_of",