build: use published mytheclipse crates (1.21.2) via version deps
Deploy Scraper / build-and-deploy (push) Canceled after 0s

The user published all mytheclipse crates to crates.io at 1.21.2
(including the mytheclipse-cache redis-0.32 fix). Switch the scraper to
version deps for the released crates (mytheclipse, -cache, -config,
-event) so it tracks the published releases instead of local path deps.
mytheclipse-queue + mytheclipse-tracing are not yet on crates.io, so they
remain path deps to the local workspace.
This commit is contained in:
asepharyana
2026-08-30 19:45:05 +07:00
parent 966d86ff67
commit e681bbbe51
2 changed files with 21 additions and 11 deletions
+9 -7
View File
@@ -13,13 +13,15 @@ default-run = "scraper"
# Dependensi yang dibutuhkan saat aplikasi berjalan
[dependencies]
# Mytheclipse workspace (user's custom library) — path deps so the scraper
# builds against the user's actual current source (1.21.x incl. unpublished
# cache redis-0.32 fix). Switch to version deps once crates.io catches up.
mytheclipse = { path = "/home/code/mytheclipse/crates/mytheclipse", features = ["full"] }
mytheclipse-cache = { path = "/home/code/mytheclipse/crates/mytheclipse-cache", features = ["l2-redis", "cache-aside"] }
mytheclipse-config = { path = "/home/code/mytheclipse/crates/mytheclipse-config" }
mytheclipse-event = { path = "/home/code/mytheclipse/crates/mytheclipse-event" }
# Mytheclipse workspace (user's custom library). All crates are published on
# crates.io; use version deps so the scraper tracks the released crates
# (1.21.2 — includes the mytheclipse-cache redis-0.32 fix). mytheclipse-queue
# + mytheclipse-tracing are NOT yet on crates.io, so those stay as path deps
# to the local workspace until published.
mytheclipse = { version = "1.21", features = ["full"] }
mytheclipse-cache = { version = "1.21", features = ["l2-redis", "cache-aside"] }
mytheclipse-config = { version = "1.21" }
mytheclipse-event = { version = "1.21" }
mytheclipse-queue = { path = "/home/code/mytheclipse/crates/mytheclipse-queue", features = ["in-memory"] }
mytheclipse-tracing = { path = "/home/code/mytheclipse/crates/mytheclipse-tracing", features = ["env"] }