From 0320d30ab2cd91aeb4ad858ebfb168beb302c110 Mon Sep 17 00:00:00 2001 From: amtoaer Date: Wed, 27 Mar 2024 00:36:23 +0800 Subject: [PATCH] =?UTF-8?q?deps:=20=E6=B7=BB=E5=8A=A0=20chrono=20=E4=BE=9D?= =?UTF-8?q?=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 3 +++ Cargo.toml | 1 + entity/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 19f84ea..e9ba5f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -384,6 +384,7 @@ name = "bili-sync" version = "2.0.0" dependencies = [ "async-stream", + "chrono", "cookie 0.18.0", "entity", "futures-core", @@ -543,8 +544,10 @@ checksum = "8eaf5903dcbc0a39312feb77df2ff4c76387d591b9fc7b04a238dcf8bb62639a" dependencies = [ "android-tzdata", "iana-time-zone", + "js-sys", "num-traits", "serde", + "wasm-bindgen", "windows-targets 0.52.4", ] diff --git a/Cargo.toml b/Cargo.toml index eca2891..e1fa18d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,6 +22,7 @@ rsa = { version = "0.9.6", features = ["sha2"] } hex = "0.4.3" rand = "0.8.5" regex = "1.10.3" +chrono = { version = "0.4.35", features = ["serde"] } entity = { path = "entity" } migration = { path = "migration" } diff --git a/entity/Cargo.toml b/entity/Cargo.toml index 0f667f7..ace1f3e 100644 --- a/entity/Cargo.toml +++ b/entity/Cargo.toml @@ -6,4 +6,4 @@ edition = "2021" [dependencies] sea-orm = { version = "0.12" } serde = { version = "1.0.197", features = ["derive"] } -serde_json = "1.0" \ No newline at end of file +serde_json = "1.0"