bevycheck icon indicating copy to clipboard operation
bevycheck copied to clipboard

Bump version of `syn`

Open CGMossa opened this issue 4 years ago • 3 comments

Hey! Lovely crate, but in order to make it work:

I had to bump syn to syn = "1.0.72". Then I had to go to bevy and update the syn used there to syn = "1.0.72", and finally the crate would compile with other things I had as well. The problem is that standard-dist also uses a newer syn crate.

CGMossa avatar Jun 23 '21 09:06 CGMossa

That's weird, I depend on syn = 1.0which if I understand correctly means every dependency semver-compatible to1.0, so every version 1.x.y`. What is the error message you get?

jakobhellermann avatar Jun 24 '21 17:06 jakobhellermann

Right, I'm working off main branch of bevy. So this is a future thing.

On Thu, Jun 24, 2021, 19:50 Jakob Hellermann @.***> wrote:

That's weird, I depend on syn = 1.0which if I understand correctly means every dependency semver-compatible to1.0, so every version 1.x.y`. What is the error message you get?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jakobhellermann/bevycheck/issues/3#issuecomment-867834599, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIDVSBAPSUKENTEQH5PPM3TUNV7BANCNFSM47FLLD2A .

CGMossa avatar Jun 24 '21 18:06 CGMossa

While bevycheck depends on bevy = 0.5, I think it should work with bevy from the main branch. Try adding

[patch.crates-io]
bevy = { git = "https://github.com/bevyengine/bevy", branch = "main" }

to your Cargo.toml, this will override the bevy dependency to use bevy main aswell.

jakobhellermann avatar Jun 25 '21 08:06 jakobhellermann