tests: switch from lazy_static to once_cell

Once_cell does not require using macro and is slated to become part of
Rust std at some point.

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu
2022-06-20 14:05:17 +00:00
committed by Liu Wei
parent 8fa1098629
commit 32b855df3a
5 changed files with 8 additions and 17 deletions

4
Cargo.lock generated
View File

@@ -165,10 +165,10 @@ dependencies = [
"epoll",
"event_monitor",
"hypervisor",
"lazy_static",
"libc",
"log",
"net_util",
"once_cell",
"option_parser",
"seccompiler",
"serde_json",
@@ -1038,8 +1038,8 @@ version = "0.1.0"
dependencies = [
"dirs",
"epoll",
"lazy_static",
"libc",
"once_cell",
"ssh2",
"vmm-sys-util",
"wait-timeout",