torrust-index icon indicating copy to clipboard operation
torrust-index copied to clipboard

CI error due to deprecated feature in dependency package ordered-multimap

Open mario-nt opened this issue 1 year ago • 2 comments

We are getting this CI error due to the ordered-multimap package:

image

I think it has been fixed in the v0.7.0, but we are using the 0.6.0.

The dependency tree is the following:

Torrust Index -> config-rs v0.14.0 -> rust-ini v0.19.0 -> ordered-multimap 0.6.0.

The error is fixed in the v0.7.1 of ordered-multimap, but to get that newer version, the config-rs package needs to bump the rust-ini v0.19.0 to v0.20.0.

That dependency update is already present in the Cargo.toml file of the github repo for the config-rs package, but the crates.io package that we download in the project, still uses the v0.19.0.

I have already opened an issue in the config-rs project so they can update the crates.io package with the latest changes: https://github.com/mehcode/config-rs/issues/548

mario-nt avatar Mar 15 '24 22:03 mario-nt

One of the contributors answered telling that dependency change will be out in the next release of config, so we need to wait until the next version.

mario-nt avatar Mar 16 '24 16:03 mario-nt

This issue would be solved if we migrate to Figment.

josecelano avatar May 15 '24 08:05 josecelano

The config crate was removed here.

josecelano avatar May 21 '24 10:05 josecelano