Problem
When trying to use the most up-to-date versions of yewtil and yew, I get a dependency conflict:
error: failed to select a version for `bincode`.
... required by package `yew v0.16.0`
... which is depended on by `phr-frontend v0.1.0 (/home/adam/dev/phr/frontend)`
versions that meet the requirements `~1.2.1` are: 1.2.1
all possible versions conflict with previously selected packages.
previously selected package `bincode v1.0.1`
... which is depended on by `yew v0.10.0`
... which is depended on by `yewtil v0.2.0`
... which is depended on by `phr-frontend v0.1.0 (/home/adam/dev/phr/frontend)`
failed to select a version for `bincode` which could resolve this conflict
Steps To Reproduce
Create a project that depends on yewtil v0.2.0 and yew v0.16.0:
[dependencies]
yew = "0.16.0"
yewtil = "0.2.0"
Expected behavior
I expect to be able to use the latest version of all official crates together, I don't want to downgrade yew and lose features/improvements just to be compatible with yewtil.
Environment:
yew v0.16.0rustc 1.45.0-nightly (769d12eec 2020-05-12)wasm32-unknown-unknownstdweb / web-sys version: web-sys v0.3.39Linux 5.4.35_1Questionnaire
Thanks for the report @agausmann, I think the fix is as simple as releasing a new version of yewtil. @hgzimmerman could you help with that?
When updated, we should add a reference to send_future in the ComponentLink docs. Context: https://github.com/yewstack/yew/pull/1274#discussion_r432881615
As this seemed to have stalled a bit, I took the liberty to try and prepare the next release. I hope that was okay!
Most helpful comment
Thanks for the report @agausmann, I think the fix is as simple as releasing a new version of
yewtil. @hgzimmerman could you help with that?