From c99eec8a8d02b7484e5c83ba4f96be81505486e2 Mon Sep 17 00:00:00 2001 From: Worph Date: Sun, 13 Sep 2026 15:53:17 +0200 Subject: [PATCH] align with metadata standard --- Cargo.lock | 5 +++-- README.md | 5 +++-- feeder-plugin/opensubtitles-feeder/Cargo.toml | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8fc4f76..a8257fb 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -742,8 +742,8 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" [[package]] name = "meta-feeder-sdk" -version = "0.1.0" -source = "git+https://github.com/worph/meta-feeder-sdk?tag=v1.2.1#60c4e855a56fbcbf873bbf0e37a434f27a1ec499" +version = "1.3.0" +source = "git+https://github.com/worph/meta-feeder-sdk?tag=v1.2.2#1c9d415a1e554d0604e2b465666d64192adde752" dependencies = [ "anyhow", "async-trait", @@ -812,6 +812,7 @@ dependencies = [ "anyhow", "async-trait", "axum", + "base64", "meta-feeder-sdk", "reqwest", "serde", diff --git a/README.md b/README.md index ab62c2d..20111cb 100644 --- a/README.md +++ b/README.md @@ -104,8 +104,9 @@ docker build -f feeder-plugin/opensubtitles-feeder/Dockerfile -t meta-feeder-ope `tests/contract.rs` drives the real SDK router against a wiremock OpenSubtitles, using fixtures captured from the live API. -The SDK is pinned by tag (`v1.3.0`). Until that tag is pushed, cargo cannot -resolve it — not even under a `[patch]` override — so the recipe above fails. To +The SDK is pinned by tag (`v1.2.2`). An SDK change is invisible here until it +is tagged and pushed, and cargo cannot resolve an unpushed tag — not even under a +`[patch]` override — so the recipe above cannot test one. To verify against a local SDK checkout, run it on a scratch copy with the dependency swapped for a path (never commit that form): diff --git a/feeder-plugin/opensubtitles-feeder/Cargo.toml b/feeder-plugin/opensubtitles-feeder/Cargo.toml index 922c42a..1586936 100644 --- a/feeder-plugin/opensubtitles-feeder/Cargo.toml +++ b/feeder-plugin/opensubtitles-feeder/Cargo.toml @@ -22,7 +22,7 @@ path = "src/main.rs" [dependencies] # Pinned by TAG, never by path. A path dep resolves OUTSIDE this repo, and this # repo is the Docker build context — see meta-feeder-anilist's manifest. -meta-feeder-sdk = { git = "https://github.com/worph/meta-feeder-sdk", tag = "v1.3.0" } +meta-feeder-sdk = { git = "https://github.com/worph/meta-feeder-sdk", tag = "v1.2.2" } tokio = { version = "1.40", features = ["full"] } axum = { version = "0.7", features = ["json"] }