yewstack / yew

Rust / Wasm framework for creating reliable and efficient web applications
https://yew.rs
Apache License 2.0
30.78k stars 1.43k forks source link

bincode dependency conflict #790

Closed onsails closed 4 years ago

onsails commented 4 years ago

Description

I'm submitting a bug report

Yew depends on specific bincode version. It leads to version conflict when yew is used with other crates depending on newer bincode version (1.2.0):

Expected Results

no bincode conflicts

Actual Results

error: failed to select a version for `bincode`.
    ... required by package `sled v0.29.2`
    ... which is depended on by `my-crate v0.1.0`
versions that meet the requirements `^1.2.0` are: 1.2.0

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 `my-other-crate v0.1.0`

my-package and my-other-package are two crates in the same workplace without dependency on each other.

Context (Environment)

jstarry commented 4 years ago

Hey @prettynatty, unfortunately we've been blocked on https://github.com/yewstack/yew/pull/714 for awhile now. I'll try getting bincode devs attention once more. Thanks for the issue!

jstarry commented 4 years ago

No longer blocked, we'll make sure this gets fixed for v0.11