Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
00287cc426 | ||
|
|
69921d7435 |
Generated
+1
@@ -743,6 +743,7 @@ checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "meta-feeder-sdk"
|
name = "meta-feeder-sdk"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
|
source = "git+https://github.com/worph/meta-feeder-sdk?tag=v1.1.0#4baf81e2bf87140175b1f51f6be51a84015e361a"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"async-trait",
|
"async-trait",
|
||||||
|
|||||||
@@ -18,9 +18,17 @@ name = "musicbrainz-feeder"
|
|||||||
path = "src/main.rs"
|
path = "src/main.rs"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# TEMPORARY: path dep while the SDK's new rev is unpushed. Flip to:
|
# Pinned by TAG, not rev or path. The tag is the SDK's release identity, and it
|
||||||
# meta-feeder-sdk = { git = "https://github.com/worph/meta-feeder-sdk", rev = "<sha>" }
|
# is the one form every feeder in the fleet can be lined up on.
|
||||||
meta-feeder-sdk = { path = "../../../meta-feeder-sdk" }
|
#
|
||||||
|
# ⚠ It must never go back to `path = "../../../meta-feeder-sdk"`. That resolves
|
||||||
|
# OUTSIDE this repo, and this repo is the Docker build context — so the image
|
||||||
|
# build died at manifest resolution with a bare "No such file or directory",
|
||||||
|
# and, worse, this crate became unconsumable as a git dependency by anyone
|
||||||
|
# ("no matching package named `meta-feeder-sdk`"), because a consumer's checkout
|
||||||
|
# has no such sibling directory either. A path dep here is not a local
|
||||||
|
# convenience; it is a defect visible to every downstream repo.
|
||||||
|
meta-feeder-sdk = { git = "https://github.com/worph/meta-feeder-sdk", tag = "v1.1.0" }
|
||||||
|
|
||||||
tokio = { version = "1.40", features = ["full"] }
|
tokio = { version = "1.40", features = ["full"] }
|
||||||
axum = { version = "0.7", features = ["json"] }
|
axum = { version = "0.7", features = ["json"] }
|
||||||
|
|||||||
@@ -11,9 +11,9 @@
|
|||||||
/// application and carry contact information. A 403 here looks exactly like a
|
/// application and carry contact information. A 403 here looks exactly like a
|
||||||
/// rate-limit and is easy to misdiagnose, so keep this descriptive.
|
/// rate-limit and is easy to misdiagnose, so keep this descriptive.
|
||||||
pub const USER_AGENT: &str = concat!(
|
pub const USER_AGENT: &str = concat!(
|
||||||
"meta-music/",
|
"musicbrainz-feeder/",
|
||||||
env!("CARGO_PKG_VERSION"),
|
env!("CARGO_PKG_VERSION"),
|
||||||
" ( https://github.com/worph/meta-feeder-music )"
|
" ( https://github.com/worph/meta-feeder-musicbrainz )"
|
||||||
);
|
);
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user