From 033aac0b243f8ca09c6e05b35bad3552b4cedebd Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Fri, 11 Sep 2026 14:09:04 +0200 Subject: [PATCH] Build from the pins, not from a sibling checkout The committed workspace patch pointed CultLib at ../CultLib, which only a workstation with that checkout beside it could satisfy; on Raven the build died looking for it. odin-core now comes from Odin 3e96c6c, whose CultLib pin is c2a9a6e like ours, so the diamond closes without a patch. A developer who wants a local CultLib puts the patch in .cargo/config.toml. Co-Authored-By: Claude Fable 5.1 --- Cargo.lock | 90 +++++++++++++++++++++++++++++---- Cargo.toml | 4 -- crates/muninn-daemon/Cargo.toml | 2 +- 3 files changed, 80 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0fe1b2f..15ce0c2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -169,10 +169,29 @@ dependencies = [ [[package]] name = "cultcache-rs" version = "0.1.0" +source = "git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e#c2a9a6e526390808ef195759056fda0b9a55d8a3" dependencies = [ "anyhow", "chrono", - "cultcache-rs-derive", + "cultcache-rs-derive 0.1.0 (git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e)", + "fs2", + "redb", + "rmp-serde", + "serde", + "serde_bytes", + "serde_json", + "uuid", + "windows-sys 0.59.0", +] + +[[package]] +name = "cultcache-rs" +version = "0.1.0" +source = "git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e526390808ef195759056fda0b9a55d8a3#c2a9a6e526390808ef195759056fda0b9a55d8a3" +dependencies = [ + "anyhow", + "chrono", + "cultcache-rs-derive 0.1.0 (git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e526390808ef195759056fda0b9a55d8a3)", "fs2", "redb", "rmp-serde", @@ -186,6 +205,17 @@ dependencies = [ [[package]] name = "cultcache-rs-derive" version = "0.1.0" +source = "git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e#c2a9a6e526390808ef195759056fda0b9a55d8a3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.119", +] + +[[package]] +name = "cultcache-rs-derive" +version = "0.1.0" +source = "git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e526390808ef195759056fda0b9a55d8a3#c2a9a6e526390808ef195759056fda0b9a55d8a3" dependencies = [ "proc-macro2", "quote", @@ -195,22 +225,60 @@ dependencies = [ [[package]] name = "cultmesh-rs" version = "0.1.0" +source = "git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e#c2a9a6e526390808ef195759056fda0b9a55d8a3" dependencies = [ "anyhow", - "cultcache-rs", - "cultnet-rs", + "cultcache-rs 0.1.0 (git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e)", + "cultnet-rs 0.1.0 (git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e)", + "serde", +] + +[[package]] +name = "cultmesh-rs" +version = "0.1.0" +source = "git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e526390808ef195759056fda0b9a55d8a3#c2a9a6e526390808ef195759056fda0b9a55d8a3" +dependencies = [ + "anyhow", + "cultcache-rs 0.1.0 (git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e526390808ef195759056fda0b9a55d8a3)", + "cultnet-rs 0.1.0 (git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e526390808ef195759056fda0b9a55d8a3)", "serde", ] [[package]] name = "cultnet-rs" version = "0.1.0" +source = "git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e#c2a9a6e526390808ef195759056fda0b9a55d8a3" dependencies = [ "aes-gcm", "anyhow", "base64", "chrono", - "cultcache-rs", + "cultcache-rs 0.1.0 (git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e)", + "ed25519-dalek", + "hmac", + "rand", + "rmp-serde", + "rmpv", + "serde", + "serde_bytes", + "serde_json", + "sha2", + "socket2", + "uuid", + "windows-sys 0.61.2", + "zeroize", +] + +[[package]] +name = "cultnet-rs" +version = "0.1.0" +source = "git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e526390808ef195759056fda0b9a55d8a3#c2a9a6e526390808ef195759056fda0b9a55d8a3" +dependencies = [ + "aes-gcm", + "anyhow", + "base64", + "chrono", + "cultcache-rs 0.1.0 (git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e526390808ef195759056fda0b9a55d8a3)", "ed25519-dalek", "hmac", "rand", @@ -480,9 +548,9 @@ name = "muninn-daemon" version = "0.1.0" dependencies = [ "anyhow", - "cultcache-rs", - "cultmesh-rs", - "cultnet-rs", + "cultcache-rs 0.1.0 (git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e)", + "cultmesh-rs 0.1.0 (git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e)", + "cultnet-rs 0.1.0 (git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e)", "libc", "muninn-move-tracker", "muninn-psmoveapi-tracker", @@ -515,12 +583,12 @@ dependencies = [ [[package]] name = "odin-core" version = "0.1.0" -source = "git+https://github.com/GameCult/Odin.git?rev=3a6368f93d36bf80af64779ed4a4c42fcf45cb2b#3a6368f93d36bf80af64779ed4a4c42fcf45cb2b" +source = "git+https://github.com/GameCult/Odin.git?rev=3e96c6c85ca8b89b1bc7b01c1b7744f43111be99#3e96c6c85ca8b89b1bc7b01c1b7744f43111be99" dependencies = [ "anyhow", - "cultcache-rs", - "cultmesh-rs", - "cultnet-rs", + "cultcache-rs 0.1.0 (git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e526390808ef195759056fda0b9a55d8a3)", + "cultmesh-rs 0.1.0 (git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e526390808ef195759056fda0b9a55d8a3)", + "cultnet-rs 0.1.0 (git+https://github.com/GameCult/CultLib.git?rev=c2a9a6e526390808ef195759056fda0b9a55d8a3)", "serde", "serde_json", ] diff --git a/Cargo.toml b/Cargo.toml index 0c354b8..945afea 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,7 +15,3 @@ publish = false # CultLib checkout so the diamond described in 1073ae6 does not bite locally. # Delete once Odin's CultLib pin has moved. Points at the main checkout, which # is on CultLib main. -[patch."https://github.com/GameCult/CultLib.git"] -cultnet-rs = { path = "../CultLib/packages/cultnet-rs" } -cultmesh-rs = { path = "../CultLib/packages/cultmesh-rs" } -cultcache-rs = { path = "../CultLib/packages/cultcache-rs" } diff --git a/crates/muninn-daemon/Cargo.toml b/crates/muninn-daemon/Cargo.toml index 2f8041f..f620bd6 100644 --- a/crates/muninn-daemon/Cargo.toml +++ b/crates/muninn-daemon/Cargo.toml @@ -21,7 +21,7 @@ cultnet-rs = { git = "https://github.com/GameCult/CultLib.git", rev = "c2a9a6e", libc = "0.2" muninn-move-tracker = { path = "../muninn-move-tracker" } muninn-psmoveapi-tracker = { path = "../muninn-psmoveapi-tracker", optional = true } -odin-core = { git = "https://github.com/GameCult/Odin.git", rev = "3a6368f93d36bf80af64779ed4a4c42fcf45cb2b" } +odin-core = { git = "https://github.com/GameCult/Odin.git", rev = "3e96c6c85ca8b89b1bc7b01c1b7744f43111be99" } rmp-serde = "1.3" serde = { version = "1", features = ["derive"] } serde_bytes = "0.11"