Nadrieril / dhall-rust

Maintainable configuration files, for Rust users
Other
303 stars 27 forks source link

limit pest_consume to 1.0.4 since 1.0.5 is broken #187

Closed Miezhiko closed 3 years ago

Nadrieril commented 3 years ago

1.0.5 is no more broken than 1.0.4 as far as I'm aware. Have you had any trouble building this from scratch? If there was, crates.io would not have allowed me to publish it

Miezhiko commented 3 years ago

@Nadrieril I can't build my project which is depending on dhall because of error there https://github.com/Nadrieril/pest_consume/issues/7#issuecomment-718128823

Nadrieril commented 3 years ago

@Qeenon are you trying to build from source then? I believe the fix is to not run cargo update before building. If you have already done it, git checkout Cargo.lock should undo that.

Miezhiko commented 3 years ago

@Nadrieril I'm building my project, there is where I use dhall: https://github.com/Qeenon/Amadeus/blob/mawa/Cargo.toml#L29

and it fails to build pest_consume with that error

e.g. I don't directly clone this project pest_consume, I just use cargo build on my project and get that error

Nadrieril commented 3 years ago

Ok sorry, I was mislead by the mention of cargo update in the related issue. pest_consume 1.0.6 fixes the issue. So I guess your code should build now? You may need to cargo update