Types etc needed by adapters (in Rust) are part of the main CI broker crate
https://radicle.zulipchat.com/#narrow/channel/452370-radicle-ci/topic/Too.20many.20dependencies.20for.20non-daemon.20lib.20use/near/590891843
Reported by RGBCube:
I’m writing an adapter, and radicle-ci-broker as a dep pulls in everything required for the daemon. Which causes dependency conflicts for me & bloats up build times.
We should put the wire format stuff into a separate crate, and have the broker & adapters depend on it instead. This is how it’s typically done
My response:
I agree that it makes sense for the radicle-ci-broker` crate to split the stuff needed by an adapter written in Rust to its own crate. As part of that, it makes sense to add an example adapter that uses the new crate, to make sure it has what’s needed.