#percent-encoding version requirement

14 messages · Page 1 of 1 (latest)

cedar oak

2.2 satisfies the ^2.1 requirement in reqwest, your issue is elsewhere

run this:

caro tree -i percent-encoding
magic jay

I get failed to select a version for percent-encoding. `

cedar oak

ok, what's the other package you know is using it ?

magic jay

```error: failed to select a version for percent-encoding.
... required by package reqwest v0.11.11
... which satisfies dependency reqwest = "^0.11" (locked to 0.11.11) of package speedupdate v0.9.0 (https://github.com/ludea/speedupdate-rs#5fd3a40d)
... which satisfies git dependency speedupdate of package sparus v0.0.1 (/data/data/com.termux/files/home/sparus/src-tauri)
versions that meet the requirements ^2.1 (locked to 2.1.0) are: 2.1.0

all possible versions conflict with previously selected packages.

previously selected package percent-encoding v2.2.0
... which satisfies dependency percent-encoding = "^2.2" of package tauri v1.1.1 (https://github.com/tauri-apps/tauri?branch=next#348b26ff)
... which satisfies git dependency tauri of package sparus v0.0.1 (/data/data/com.termux/files/home/sparus/src-tauri)

failed to select a version for percent-encoding which could resolve this conflict ```

Which use 2.2

cedar oak

what does this output ?

cargo update -p=percent-encoding --precise=2.2.0

or even just

cargo update -p=percent-encoding
magic jay

Work !

Perfect

Thanks a lot

cedar oak

i guess things get weird when you mess with git dependencies