I'm trying to write a package which depends on Holochain. The repository is a workspace, with the crate I need (holochain
) being under crates/holochain
. So I have this in my Cargo.toml
:
[dependencies.holochain]
git = "https://github.com/holochain/holochain"
branch = "develop"
package = "holochain"
holochain
has the following patch
section in workspace Cargo.toml
:
https://github.com/holochain/holochain/blob/develop/Cargo.toml#L37-L42
My package fails to compile, unless I duplicate this patch
section in my Cargo.toml
, which seemed unexpected to me. Is that expected behaviour, and I should just ask them to depend on patched packages directly?