Although libraries should not set variables, it makes sense to me to allow the final client of all dependencies, i.e. the root crate, to force override any variable that may have been set (note that environment variables also cause this trouble) in case of conflict.
See e.g. #1687
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too