From c4824d3048a0091b540254a67935337ef6c0a827 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mateusz=20Ma=C4=87kowski?= Date: Thu, 19 Mar 2026 00:39:32 +0100 Subject: [PATCH] fix: circular dependency when publishing cot and cot-core --- cot-core/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cot-core/Cargo.toml b/cot-core/Cargo.toml index 283a96c3..03c5bc7a 100644 --- a/cot-core/Cargo.toml +++ b/cot-core/Cargo.toml @@ -41,7 +41,9 @@ tower.workspace = true [dev-dependencies] async-stream.workspace = true -cot = { workspace = true, features = ["test"] } +# Specifying path directly to avoid circular dependencies on publishing cot and cot-core. +# When publishing, path dependencies are dropped, removing the cycle. +cot = { path = "../cot", features = ["test"] } futures.workspace = true tokio.workspace = true