ustulation / p2p

NAT Traversal techniques for p2p communication
BSD 3-Clause "New" or "Revised" License
133 stars 28 forks source link

bincode version not valid #6

Closed shnupta closed 6 years ago

shnupta commented 6 years ago

When building with p2p as a dependency I get this error:

error: no matching version `~1.0.0-alpha6` found for package `bincode` (required by `p2p`)
location searched: registry https://github.com/rust-lang/crates.io-index
versions found: 0.8.0, 0.7.0, 0.6.1, ...
ustulation commented 6 years ago

@shnupta : it's building fine for me (i use linux so the CI is currently set only for linux & OSX (travis) builds and shows everything's green too as you can see).

Also bincode is ~0.8.0 as here which is valid AFAIK.

Can you pls investigate a bit more and also see if it's not something to do with your end ? Thanks.

shnupta commented 6 years ago

@ustulation : yeah the build looks fine and I've checked the Cargo.toml but if you look on crates.io: https://crates.io/crates/p2p

Under dependencies it says it requires bincode ~1.0.0-alpha6, which has been yanked from crates.io so is no longer available. I'm pretty sure there is nothing I can do on my end. Does the version on crates match the repository? (crates says it was last updated 3 months ago but I see some changes were made to the repository 2 months ago)

ustulation commented 6 years ago

@shnupta Ah the one in the crates, indeed. I forgot to cargo publish the changes it seems. Should be done now.