yewtil 0.2.0 is in conflict with yew 0.16.0

Created on 15 May 2020  路  3Comments  路  Source: yewstack/yew

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 version: yew v0.16.0
  • Rust version: rustc 1.45.0-nightly (769d12eec 2020-05-12)
  • Target: wasm32-unknown-unknown
  • stdweb / web-sys version: web-sys v0.3.39
  • OS: Linux 5.4.35_1
  • Browser: n/a

Questionnaire

  • [x] I'm interested in fixing this myself but don't know where to start
  • [ ] I would like to fix and I have a solution
  • [ ] I don't have time to fix this right now, but maybe later
bug

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?

All 3 comments

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!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DenisKolodin picture DenisKolodin  路  5Comments

zethra picture zethra  路  5Comments

ghost picture ghost  路  5Comments

kellytk picture kellytk  路  4Comments

FrontMage picture FrontMage  路  4Comments