mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-15 04:11:19 +00:00
We have two "interface" crates in our workspace: `libp2p-core` and `libp2p-swarm`. Most crates depend on both of these. To compile the tests for this crate, we often need a concrete implementation to some of these interfaces. When specifying a workspace-inherited dependency, we don't get to choose to omit the `version` field next to the path. If a dependency is `path`-only however, it will be tripped by `cargo` during the release process which is why all of this worked before our move to workspace inheritance. With this patch, we change the minimum amount of dependencies necessary back to `path` dependencies to allowing releasing of our crates. Related: #4053. Pull-Request: #4091. Co-Authored-By: Thomas Eizinger <thomas@eizinger.io>