build: use published mytheclipse crates (1.21.2) via version deps
Deploy Scraper / build-and-deploy (push) Canceled after 0s
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:
+9
-7
@@ -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"] }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user