Open ctriley opened 1 year ago
Hi @ctriley. Yes, we're aware of the problem... but it's not a simple one. The reason is that minidom
is actually a library for a subset of XML (XMPP) and with version 0.13.0
, they started to not parse certain parts (see https://github.com/hove-io/transit_model/pull/746 for more details). So moving forward probably means removing entirely minidom
and use another library (probably quick-xml
directly). But that's not a trivial work and we don't really have the time at the moment.
The package minidom needs to be updated, as it imports quick-xml 0.17.2 which contains code which will be rejected in a future version of rust.
cargo report future-incompatibilities The following warnings were discovered during the build. These warnings are an indication that the packages contain code that will become an error in a future release of Rust. These warnings typically cover changes to close soundness problems, unintended or undocumented behavior, or critical problems that cannot be fixed in a backwards-compatible fashion, and are not expected to be in wide use.
Each warning should contain a link for more information on what the warning means and how to resolve it.
To solve this problem, you can try the following approaches:
quick-xml v0.17.2 has the following newer versions available: 0.18.0, 0.18.1, 0.19.0, 0.20.0, 0.21.0, 0.22.0, 0.23.0-alpha1, 0.23.0-alpha2, 0.23.0-alpha3, 0.23.1, 0.24.1, 0.25.0, 0.26.0, 0.27.0, 0.27.1, 0.28.0, 0.28.1, 0.28.2
If the issue is not solved by updating the dependencies, a fix has to be implemented by those dependencies. You can help with that by notifying the maintainers of this problem (e.g. by creating a bug report) or by proposing a fix to the maintainers (e.g. by creating a pull request):
cargo report future-incompatibilities --id 1 --package quick-xml@0.17.2
If waiting for an upstream fix is not an option, you can use the
[patch]
section inCargo.toml
to use your own version of the dependency. For more information, see: https://doc.rust-lang.org/cargo/reference/overriding-dependencies.html#the-patch-sectionThe package
quick-xml v0.17.2
currently triggers the following future incompatibility lints: