-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update for rust-libp2p 0.49 release #60
Conversation
I don't quite understand how this works. Are we properly isolating the builds for the various versions so the features are not conflicting with each other? I can't figure out how to tell testground that it should use one feature set for one version and another for another version. Without tesground, the way I'd do this is by having a matrix in GitHub actions such that the builds are isolated. The approach of having a single manifest file with multiple dependencies seems odd to me. We might just need to accept the duplication between multiple instances of the Anyway, just my 2c on interacting with this for the first time :) |
Okay, I think I found the curlpit. The I still think the way pub mod libp2p {
#[cfg(all(feature = "libp2pmaster",))]
pub use libp2pmaster::*;
#[cfg(all(feature = "libp2pv0480",))]
pub use libp2pv0480::*;
#[cfg(all(feature = "libp2pv0470",))]
pub use libp2pv0470::*;
#[cfg(all(feature = "libp2pv0460",))]
pub use libp2pv0460::*;
#[cfg(all(feature = "libp2pv0450",))]
pub use libp2pv0450::*;
#[cfg(all(feature = "libp2pv0440",))]
pub use libp2pv0440::*;
} This is just asking to break with changes like libp2p/rust-libp2p#2859. Here we deprecated the I think we should split |
bd33b85
to
74a42cb
Compare
I think I actually got it now haha Seems to be passing. |
Thanks for the work here @thomaseizinger! Impressive how fast you got started on this. I added 06b6527. If I am not mistaken, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙏
I had moved them to the actual dependency that is declared in |
That is my understanding, yes. |
Nice, thanks for the fix, |
I am not sure if I did all of this right. I was a bit confused as to why there is seemingly so much duplication between the various
toml
files and whether they all need updating or not.Hoping that CI here will tell me whether this works :D
Resolves #59.