mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
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:
parent
8f82b2a7cb
commit
86c4e014b4
10 changed files with 19 additions and 37 deletions
5
Cargo.lock
generated
5
Cargo.lock
generated
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue