From 9b0e3ccf75543d69128f45b478610fb707690fcb Mon Sep 17 00:00:00 2001 From: bush1D3v Date: Sat, 8 Jun 2024 18:18:33 -0300 Subject: [PATCH] build: Trading lazy_static for once_cell --- Cargo.lock | 8 +------- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index dc3839d..95c2e01 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1111,12 +1111,6 @@ version = "0.3.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d4345964bb142484797b161f473a503a434de77149dd8c7427788c6e13379388" -[[package]] -name = "lazy_static" -version = "1.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" - [[package]] name = "libc" version = "0.2.155" @@ -1222,7 +1216,7 @@ dependencies = [ "deadpool-redis", "deadqueue", "env_logger", - "lazy_static", + "once_cell", "postgres", "regex", "serde", diff --git a/Cargo.toml b/Cargo.toml index 15728ec..7d5897d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ deadpool-postgres = "0.13.2" deadpool-redis = { version = "0.12", features = ["serde"] } deadqueue = "0.2.4" env_logger = "0.10.0" -lazy_static = "1.4.0" +once_cell = "1.19.0" postgres = { version = "0.19.4", features = ["with-uuid-1"] } regex = "1.5.6" serde = { version = "1.0", features = ["derive"] }