Skip to content

Commit c3190dd

Browse files
AlexMikhalevclaude
andauthored
fix(ci): add missing version fields for crates.io publishing (#573)
terraphim_service depends on terraphim_router with a path-only dependency (no version field). cargo publish requires all deps to have a version when publishing to crates.io. Changes: - Add version = "1.0.0" to terraphim_router dep in terraphim_service - Add version fields to path deps in terraphim_router (types, persistence) - Add version fields to path deps in terraphim_spawner (types, router) - Add terraphim_router and terraphim_spawner to publish-crates.sh Co-authored-by: Terraphim AI <noreply@anthropic.com>
1 parent 67314e3 commit c3190dd

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

crates/terraphim_router/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repository = "https://github.com/terraphim/terraphim-ai"
99

1010
[dependencies]
1111
# Terraphim internal crates
12-
terraphim_types = { path = "../terraphim_types" }
12+
terraphim_types = { path = "../terraphim_types", version = "1.0.0" }
1313

1414
# Core dependencies
1515
serde = { version = "1.0", features = ["derive"] }
@@ -28,6 +28,7 @@ dirs = "5.0"
2828
# Optional persistence support
2929
[dependencies.terraphim_persistence]
3030
path = "../terraphim_persistence"
31+
version = "1.0.0"
3132
optional = true
3233

3334
# Optional file-watching support

crates/terraphim_service/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ reqwest = { workspace = true }
3939
once_cell = "1.19"
4040

4141
# LLM Router integration
42-
terraphim_router = { path = "../terraphim_router", optional = true }
42+
terraphim_router = { path = "../terraphim_router", version = "1.0.0", optional = true }
4343

4444
# Logging utilities
4545
env_logger = "0.11"

crates/terraphim_spawner/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ repository = "https://github.com/terraphim/terraphim-ai"
99

1010
[dependencies]
1111
# Terraphim internal crates
12-
terraphim_types = { path = "../terraphim_types" }
13-
terraphim_router = { path = "../terraphim_router" }
12+
terraphim_types = { path = "../terraphim_types", version = "1.0.0" }
13+
terraphim_router = { path = "../terraphim_router", version = "1.0.0" }
1414

1515
# Core dependencies
1616
tokio = { version = "1.0", features = ["full"] }

scripts/publish-crates.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ CRATES=(
4949
"terraphim_automata"
5050
"terraphim_config"
5151
"terraphim_rolegraph"
52+
"terraphim_router"
53+
"terraphim_spawner"
5254
"terraphim_hooks"
5355
"terraphim-session-analyzer"
5456
"haystack_core"

0 commit comments

Comments
 (0)