From 03c430c252aaa0f463d1b6cae37411e7eae71bb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=97=8D+85CD?= <50108258+kwaa@users.noreply.github.com> Date: Wed, 10 Apr 2024 21:07:14 +0800 Subject: [PATCH] fix: lock time version https://github.com/launchbadge/sqlx/issues/3189 --- Cargo.lock | 9 +++++---- Cargo.toml | 3 +++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 357d467a..7479371b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1306,6 +1306,7 @@ dependencies = [ "openssl", "sea-orm", "snmalloc-rs", + "time", "tokio", "tokio-graceful-shutdown", "tracing", @@ -3882,9 +3883,9 @@ dependencies = [ [[package]] name = "time" -version = "0.3.35" +version = "0.3.34" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef89ece63debf11bc32d1ed8d078ac870cbeb44da02afb02a9ff135ae7ca0582" +checksum = "c8248b6521bb14bc45b4067159b9b6ad792e2d6d754d6c41fb50e29fefe38749" dependencies = [ "deranged", "itoa", @@ -3903,9 +3904,9 @@ checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.18" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" +checksum = "7ba3a3ef41e6672a2f0f001392bb5dcd3ff0a9992d618ca761a11c3121547774" dependencies = [ "num-conv", "time-core", diff --git a/Cargo.toml b/Cargo.toml index b29826e2..7db6e4c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -125,6 +125,9 @@ activitypub_federation = { workspace = true } dotenvy = "0.15" sea-orm = { workspace = true } snmalloc-rs = "0.3" +# https://github.com/launchbadge/sqlx/issues/3189 +# https://github.com/launchbadge/sqlx/pull/3190 +time = "=0.3.34" tokio = { workspace = true } tokio-graceful-shutdown = { workspace = true } tracing = { workspace = true }