diff --git a/Cargo.toml b/Cargo.toml index 5eb37c57..46be8227 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -117,3 +117,9 @@ members = [ [patch.'https://github.com/fluencelabs/rust-libp2p'] libp2p-core = { path = "core", version = "0.16.0" } + +# NOTE: this is required because trust-graph depends on libp2p-core = 0.16.0, +# and patches it to git only in patch section, which apparently isn't +# visible via dependency mechanics (i.e., not visible HERE) +[patch.crates-io] +libp2p-core = { path = "core", version = "0.16.0" }