-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
the trait bound implicit_clone::unsync::IMap<_, _>: From<indexmap::IndexMap<K, V>>
is not satisfied
#3659
Comments
+1 this issue, currently trying out yew with the getting started example per documentation and the same error appears, even if i remove the dynamic/state parts (e.g. only trying to render an h1). |
Sane thing. I have tried a few examples, including those in the docs, and the result is always this crash. Update: this problem does not seem to be there with version Update 2: this commit seems to be the problem, no? 71b0f20 |
This is a problem with |
Should we report a bug against indexmap then? |
anyone solved ? |
Not as far as I am aware. I think somebody needs to open a bug against indexmap. (I haven't had time recently) Anybody know what version of indexmap broke backwards compatibility? |
+1 this issue getting this when running the example script in the yew documentation |
Not sure this helps, but I did the following, by adding fake indexmap dependancy:
Huh? I verified in each case using "cargo tree" that the yew/indexmap was the expected version. Then I did a "cargo update" (no other changes), which updated indexmap to 2.2.6 everywhere. It still seems to work. So now I am unclear if indexmap 2.2.6 is the solution, or if this is just coincidence. And I haven't been able to test my binary yet (unrelated issue with clippy after updating everything). |
It still fails after reverting the version because Cargo.lock will probably probably hold onto the previously set 2.0.1, since it assumes that going from 2.0.0 to 2.0.1 shouldn't be breaking |
Thats what I thought too, but "cargo tree" clearly showed the yew -> indexmap dependency was now on 2.0.0. |
Problem
I keep getting this error when I try to update a package like serde_yaml or replace serde_yaml with serde_yml line 216.
This comes from
.../yew-0.21.0/src/html/conversion/into_prop_value.rs
I am somewhat puzzled what is going on here. Perhaps the update of indexmap from 2.0.0 to 2.2.6 changed the API.
Steps To Reproduce
See brianmay/robotica-rust#518
Expected behavior
No errors.
Screenshots
As above.
Environment:
Questionnaire
The text was updated successfully, but these errors were encountered: