diff --git a/Cargo.toml b/Cargo.toml index cc294af9..a998af69 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -116,7 +116,7 @@ members = [ "transports/wasm-ext" ] -[patch.'ssh://git@github.com/fluencelabs/rust-libp2p.git'] +[patch.'https://github.com/fluencelabs/rust-libp2p'] libp2p-core = { path = "core" } # NOTE: this is required because trust-graph depends on libp2p-core, diff --git a/protocols/kad/Cargo.toml b/protocols/kad/Cargo.toml index 493754e5..81cc50b6 100644 --- a/protocols/kad/Cargo.toml +++ b/protocols/kad/Cargo.toml @@ -31,7 +31,7 @@ void = "1.0" bs58 = "0.3.0" derivative = "2.0.2" -trust-graph = { git = "ssh://git@github.com/fluencelabs/fluence.git", branch = "libp2p_0.19.0" } +trust-graph = { git = "https://github.com/fluencelabs/fluence", branch = "libp2p_0.19.0" } [dev-dependencies] libp2p-secio = { version = "0.19.0", path = "../secio" } diff --git a/protocols/kad/src/behaviour.rs b/protocols/kad/src/behaviour.rs index 5fd36ded..1e432822 100644 --- a/protocols/kad/src/behaviour.rs +++ b/protocols/kad/src/behaviour.rs @@ -1,4 +1,5 @@ // Copyright 2018 Parity Technologies (UK) Ltd. +#![allow(clippy::needless_lifetimes)] // // Permission is hereby granted, free of charge, to any person obtaining a // copy of this software and associated documentation files (the "Software"),