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
66 changes: 29 additions & 37 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async-trait = "0.1.52"
fnv = "1.0.7"
futures = "0.3.19"
lazy_static = "1.4.0"
libipld = { version = "0.14.0", default-features = false }
libipld = { version = "0.15.0", default-features = false }
libp2p = { version = "0.49.0", features = ["request-response"] }
prometheus = "0.13.0"
prost = { version = "0.9.0", optional = true }
Expand All @@ -29,7 +29,7 @@ unsigned-varint = { version = "0.7.1", features = ["futures", "std"] }
[dev-dependencies]
async-std = { version = "1.10.0", features = ["attributes"] }
env_logger = "0.9.0"
libipld = { version = "0.14.0", default-features = false, features = ["dag-cbor"] }
libipld = { version = "0.15.0", default-features = false, features = ["dag-cbor"] }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This will require many other crates to upgrade as well. Are there reasons to make this urgent? Otherwise I’d have postponed this to the next libp2p upgrade.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I am using libipld 0.15 which applies this fix and because of using a newer version, libp2p-bitswap would give a compiler error due to the use of StoreParams from a newer version (which might fall back to a previous comment made in #39). If you wish to postpone, I can use a fork with this upgrade for the time being until it is updated here

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Right, those compilation errors are what then forces the upgrade dance on all my repos … we can merge this now but I’d like to hold back with releasing until libp2p 0.51 is out.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Waiting until libp2p 0.51 is fine with me.

libp2p = { version = "0.49.0", features = ["tcp", "noise", "yamux", "rsa", "async-std"] }
multihash = { version = "0.16.1", default-features = false, features = ["blake3"] }
multihash = { version = "0.17", default-features = false, features = ["blake3"] }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I’d prefer to stay in sync with libp2p on this one, which is still on 0.16.1.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Would have to double check, I believe this change was done for was due to the test using the reexport of Code from libipld while also using MultihashDigest from multihash itself, which caused it to failed so I bumped it up to match libipld

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

just saw libp2p/rust-libp2p#3196, so we can do this now

tracing-subscriber = { version = "0.3.5", features = ["env-filter"] }