Add subdirectory hint for git dependency

This commit is contained in:
Timur Gordon
2025-11-04 13:10:27 +01:00
parent 4158d02f3d
commit d016e54ec9
2 changed files with 3 additions and 3 deletions

4
Cargo.lock generated
View File

@@ -2360,7 +2360,7 @@ dependencies = [
] ]
[[package]] [[package]]
name = "osiris" name = "osiris-core"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"anyhow", "anyhow",
@@ -3250,7 +3250,7 @@ dependencies = [
"heromodels_core", "heromodels_core",
"hex", "hex",
"log", "log",
"osiris", "osiris-core",
"rand 0.8.5", "rand 0.8.5",
"redis 0.25.4", "redis 0.25.4",
"rhai", "rhai",

View File

@@ -55,7 +55,7 @@ hero_logger = { git = "https://git.ourworld.tf/herocode/baobab.git", branch = "l
# Osiris dependencies (used by runner_osiris binary) # Osiris dependencies (used by runner_osiris binary)
osiris = { package = "osiris-core", path = "../osiris/core" } osiris = { package = "osiris-core", path = "../osiris/core" }
# osiris = { package = "osiris-core", git = "https://git.ourworld.tf/herocode/osiris.git" } # osiris = { package = "osiris-core", git = "https://git.ourworld.tf/herocode/osiris.git", subdirectory = "core" }
heromodels = { git = "https://git.ourworld.tf/herocode/db.git" } heromodels = { git = "https://git.ourworld.tf/herocode/db.git" }
heromodels_core = { git = "https://git.ourworld.tf/herocode/db.git" } heromodels_core = { git = "https://git.ourworld.tf/herocode/db.git" }
heromodels-derive = { git = "https://git.ourworld.tf/herocode/db.git" } heromodels-derive = { git = "https://git.ourworld.tf/herocode/db.git" }