net_util: 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:10:55 +00:00
committed by Liu Wei
parent 32b855df3a
commit f1dc7f442a
4 changed files with 11 additions and 17 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ vm-virtio = { path = "../vm-virtio" }
vmm-sys-util = "0.9.0"
[dev-dependencies]
lazy_static = "1.4.0"
once_cell = "1.12.0"
pnet = "0.31.0"
pnet_datalink = "0.31.0"
serde_json = "1.0.81"