Kixunil / configure_me

A Rust library for processing application configuration easily
62 stars 14 forks source link

[Bug] Could not build because of low version of `cargo_toml` #60

Closed smallzhongfeng closed 2 months ago

smallzhongfeng commented 1 year ago
error: failed to select a version for the requirement `cargo_toml = "^0.8.0"`
candidate versions found which didn't match: 0.17.0, 0.16.3, 0.16.2, ...

we need to upgrade cargo_toml version, version 0.8.0 has been yanked image

Kixunil commented 1 year ago

That sucks, why was it yanked? Upgrading will bump MSRV but I will look into using ranged versions.

smallzhongfeng commented 1 year ago

That sucks, why was it yanked?

There may be bugs? I don’t know the specifics either.

Kixunil commented 1 year ago

Oh, I think you're using configure_me_codegen 0.4.3, try using 0.4.4 instead. I still want to use ranged versions but have to run soon and this should at least help you now.

aditanase commented 2 months ago

Happens again, 0.12 was yanked

Kixunil commented 2 months ago

I'm sorry folks, I had the fix mostly ready but for some reason which I don't remember I didn't publish it.

FYI you can still force yanked versions with cargo update but obviously if you're using the crate with a newer project you'll need higher version anyway.

Kixunil commented 2 months ago

A new version with ranged dependency was released, so it should work now. LMK if there's a problem.