Use once_cell instead of lazy_static

once_cell can do what lazy_static does and more, so replace lazy_static with
once_cell.

See https://docs.rs/once_cell/1.8.0/once_cell/#general-purpose-lazy-evaluation
This commit is contained in:
Martin Nordholts committed 2021-11-22 22:03:03 +01:00
1 parent dd0925a946
commit 5519f9c716
4 files changed
+15 -21

No files matched your search

Generated
-1
View File
@@ -101,7 +101,6 @@ dependencies = [
"git2",
"globset",
"grep-cli",
"lazy_static",
"nix",
"once_cell",
"path_abs",