Consume the core stack from CultLib instead of forking it

CultCache and CultNet were submodules on two more branches of the retiring
standalone repos. The CultCache fork held nothing CultLib lacks. The CultNet
fork held the pre-migration RuntimePresenceCorrelation as an enum where CultLib
has a struct, but the connector never referenced that type -- it came along with
the vendored library rather than being used -- so the migration costs nothing
here. Builds and its 35 tests pass against the pinned revision with no code
changes.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-04 04:23:05 +02:00
commit 65192892f0
5 changed files with 5 additions and 10 deletions

6
.gitmodules vendored
View file

@ -1,6 +0,0 @@
[submodule "vendor/cultnet-rs"]
path = vendor/cultnet-rs
url = https://github.com/GameCult/cultnet-rs.git
[submodule "vendor/cultcache-rs"]
path = vendor/cultcache-rs
url = https://github.com/GameCult/cultcache-rs.git

3
Cargo.lock generated
View file

@ -203,6 +203,7 @@ dependencies = [
[[package]]
name = "cultcache-rs"
version = "0.1.0"
source = "git+https://github.com/GameCult/CultLib.git?rev=e171eca32329baa928f4a1d810401a8b4c857029#e171eca32329baa928f4a1d810401a8b4c857029"
dependencies = [
"anyhow",
"chrono",
@ -220,6 +221,7 @@ dependencies = [
[[package]]
name = "cultcache-rs-derive"
version = "0.1.0"
source = "git+https://github.com/GameCult/CultLib.git?rev=e171eca32329baa928f4a1d810401a8b4c857029#e171eca32329baa928f4a1d810401a8b4c857029"
dependencies = [
"proc-macro2",
"quote",
@ -229,6 +231,7 @@ dependencies = [
[[package]]
name = "cultnet-rs"
version = "0.1.0"
source = "git+https://github.com/GameCult/CultLib.git?rev=e171eca32329baa928f4a1d810401a8b4c857029#e171eca32329baa928f4a1d810401a8b4c857029"
dependencies = [
"aes-gcm",
"anyhow",

View file

@ -33,8 +33,8 @@ aes-gcm = "0.10"
anyhow = { version = "1", optional = true }
base64 = "0.23"
chrono = { version = "0.4", features = ["serde"], optional = true }
cultcache-rs = { path = "vendor/cultcache-rs", optional = true }
cultnet-rs = { path = "vendor/cultnet-rs", optional = true }
cultcache-rs = { git = "https://github.com/GameCult/CultLib.git", rev = "e171eca32329baa928f4a1d810401a8b4c857029", package = "cultcache-rs", optional = true }
cultnet-rs = { git = "https://github.com/GameCult/CultLib.git", rev = "e171eca32329baa928f4a1d810401a8b4c857029", package = "cultnet-rs", optional = true }
fs2 = { version = "0.4", optional = true }
libc = { version = "0.2", optional = true }
rand_core = { version = "0.6", features = ["getrandom"] }

1
vendor/cultcache-rs vendored

@ -1 +0,0 @@
Subproject commit 73b2555bbcd5f05f091d2cf17fcb86ac30695cae

1
vendor/cultnet-rs vendored

@ -1 +0,0 @@
Subproject commit 9dcb88df1361b157a48502f43093fe7a25ca22b7