Repository: tangle-network/gadget (language: rust)

Issue:
[BUG] cyclic dependencies detected between `gadget-blueprint-proc-macro` and `gadget-sdk`
`gadget-blueprint-proc-macro` needs `gadget-sdk` for testing (dev-dependencies) and gadget-sdk rexports `gadget-blueprint-proc-macro`, `gadget-context-derive` .. etc.

This issue blocks our release process, we need to fix it asap.

One solution is to not use gadget-sdk in testing.
another one is to make a separate crate just for testing and move tests there and make them `publish = false`


Discussion / hints:
![image](https://github.com/user-attachments/assets/00562980-ab8d-404a-881b-0405876e0786)


Fix patch:
diff --git a/macros/blueprint-proc-macro/Cargo.toml b/macros/blueprint-proc-macro/Cargo.toml
index 7809bddca..a61477fd5 100644
--- a/macros/blueprint-proc-macro/Cargo.toml
+++ b/macros/blueprint-proc-macro/Cargo.toml
@@ -22,7 +22,7 @@ indexmap = { workspace = true }
 
 [dev-dependencies]
 trybuild = { workspace = true }
-gadget-sdk = { workspace = true, features = ["std"] }
+gadget-sdk = { path = "../../sdk", features = ["std"] }
 tracing = { workspace = true }
 async-trait = { workspace = true }
 


Test patch: