Replace the lazy_static crate with std::sync::LazyLock in components/shared (#33060)

* replace in pub_domains.rs

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

* replace in embedder/resources.rs

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

* replace in base/id.rs

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

* replace in net/lib.rs

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

* remove lazy_static from components/shared

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-15 21:05:29 +09:00 committed by GitHub
parent 8f82b2a7cb
commit 86c4e014b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 19 additions and 37 deletions

5
Cargo.lock generated
View file

@ -305,7 +305,6 @@ version = "0.0.1"
dependencies = [
"base",
"ipc-channel",
"lazy_static",
"malloc_size_of",
"malloc_size_of_derive",
"parking_lot",
@ -335,7 +334,6 @@ version = "0.0.1"
dependencies = [
"crossbeam-channel",
"ipc-channel",
"lazy_static",
"malloc_size_of",
"malloc_size_of_derive",
"parking_lot",
@ -669,7 +667,6 @@ dependencies = [
"crossbeam-channel",
"euclid",
"ipc-channel",
"lazy_static",
"malloc_size_of",
"malloc_size_of_derive",
"pixels",
@ -1610,7 +1607,6 @@ dependencies = [
"crossbeam-channel",
"ipc-channel",
"keyboard-types",
"lazy_static",
"log",
"num-derive",
"num-traits",
@ -4537,7 +4533,6 @@ dependencies = [
"hyper_serde",
"image",
"ipc-channel",
"lazy_static",
"log",
"malloc_size_of",
"malloc_size_of_derive",