feat(card_db): Only fetch database when upstream has updated

This commit is contained in:
Tristan Daniël Maat 2025-03-26 02:27:39 +08:00
parent a3ce7f8008
commit 3d3d56440a
Signed by: tlater
GPG key ID: 49670FD774E43268
8 changed files with 249 additions and 23 deletions

View file

@ -18,7 +18,7 @@ wasm-bindgen = "0.2.100"
wasm-bindgen-futures = { version = "0.4.50", features = ["futures-core-03-stream"] }
diesel-derive-enum = { version = "2.1.0", features = ["sqlite"] }
diesel_migrations = { git = "https://github.com/diesel-rs/diesel.git", features = ["sqlite"] }
time = { version = "0.3.39", features = ["parsing"] }
time = { version = "0.3.39", features = ["formatting", "parsing", "wasm-bindgen"] }
wasm-logger = "0.2.0"
log = "0.4.26"
sqlite-wasm-rs = { version = ">=0.3.0, <0.4.0" , default-features = false, features = ["precompiled"]}
@ -26,3 +26,7 @@ thiserror-ext = "0.2.1"
futures-util = "0.3.31"
gloo = { version = "0.11.0", features = ["futures"] }
gloo-net = { version = "0.6.0" }
web-sys = { version = "0.3.77", features = ["FileSystemWritableFileStream", "WorkerGlobalScope"] }
[target.'cfg(all(any(target_arch = "wasm32", target_arch = "wasm64"), target_os = "unknown"))'.dev-dependencies]
wasm-bindgen-test = "0.3.50"