From e681bbbe517f1aa513c4dfcb91bc9eb3be3e3add Mon Sep 17 00:00:00 2001 From: asepharyana Date: Sun, 30 Aug 2026 19:45:05 +0700 Subject: [PATCH] build: use published mytheclipse crates (1.21.2) via version deps 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. --- Cargo.lock | 16 ++++++++++++---- Cargo.toml | 16 +++++++++------- 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index f0a9cfd..98c77de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1871,7 +1871,9 @@ dependencies = [ [[package]] name = "mytheclipse" -version = "1.21.1" +version = "1.21.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "adc7c1ece73cafbf9f9159945a1d9d8f9f846b68031c42eaaca3174199b9c881" dependencies = [ "async-trait", "num_cpus", @@ -1884,7 +1886,9 @@ dependencies = [ [[package]] name = "mytheclipse-cache" -version = "1.21.1" +version = "1.21.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93e02bdc463c76f2cdf2c3339e7d9a33a7705192c8cdac24d6e93299e39c3dac" dependencies = [ "async-trait", "redis", @@ -1896,7 +1900,9 @@ dependencies = [ [[package]] name = "mytheclipse-config" -version = "1.21.1" +version = "1.21.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a370f4e37f99b06eadbab68d840075fe6b091ce6e34d1c0679bae23c495e9b8a" dependencies = [ "dotenvy", "notify", @@ -1910,7 +1916,9 @@ dependencies = [ [[package]] name = "mytheclipse-event" -version = "1.21.1" +version = "1.21.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a2c0223f5d7ab84930cb9d892d0a464f1fa8262e6479a08b9813702fbabf170d" dependencies = [ "async-trait", "serde", diff --git a/Cargo.toml b/Cargo.toml index b282423..154d485 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] }