Skip to content

Commit 460b273

Browse files
authored
fix: circular dependency when publishing cot and cot-core (#514)
1 parent 99282fc commit 460b273

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cot-core/Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ tower.workspace = true
4141

4242
[dev-dependencies]
4343
async-stream.workspace = true
44-
cot = { workspace = true, features = ["test"] }
44+
# Specifying path directly to avoid circular dependencies on publishing cot and cot-core.
45+
# When publishing, path dependencies are dropped, removing the cycle.
46+
cot = { path = "../cot", features = ["test"] }
4547
futures.workspace = true
4648
tokio.workspace = true
4749

0 commit comments

Comments
 (0)