Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ping/rust/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ libp2pv0490 = { package = "libp2p", version = "0.49.0", features = ["websocket",
[dependencies."libp2pv0500"]
package = "libp2p"
git = "https://github.com/libp2p/rust-libp2p"
rev = "368705a1465c4322948d14ee46d42475c472ca1e" # This should usually point to a commit on master.
tag = "v0.50.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think moving to tag would work here, given that we use sed in our Dockerfile matching on the string rev.

I might have been not very clear. Sorry. Let's use the commit hash that v0.50.0 points at.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh I see

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that we have released v0.50.0 we should actually add that as a release and have this point to the most recent hash on master here!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be part of this PR?

Copy link
Contributor

@thomaseizinger thomaseizinger Dec 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't have to be. I think we can merge this separately :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I opened #87 and also fixed the deprecation warnings there.

features = ["websocket", "mplex", "yamux", "tcp", "ping", "noise", "dns", "async-std", "rsa", "macros"]
2 changes: 1 addition & 1 deletion ping/rust/src/bin/testplan_0500.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async fn main() -> Result<()> {
let local_key = identity::Keypair::generate_ed25519();
let local_peer_id = PeerId::from(local_key.public());

let swarm = OrphanRuleWorkaround(Swarm::new(
let swarm = OrphanRuleWorkaround(Swarm::with_async_std_executor(
development_transport(local_key).await?,
Behaviour {
keep_alive: keep_alive::Behaviour,
Expand Down