Skip to content
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

Dependency Hell #1

Closed
SionoiS opened this issue Jul 28, 2022 · 1 comment
Closed

Dependency Hell #1

SionoiS opened this issue Jul 28, 2022 · 1 comment

Comments

@SionoiS
Copy link
Collaborator

SionoiS commented Jul 28, 2022

OK!

I need HashRouter which is implemented only on the master branch of yew-router .

I also need ybc which is not updated for Yew 0.19 But there's a fork of it pretty much all done.

Then I could not compile for WASM because it seams like my ipfs-api and yew conflict in some way that make yew compile with tokio which cannot compile for WASM, how? IDK! Since both crate compile for WASM separately but not together???

I fixed it by forking yew master and removed tokio (which should not affect anything but does) from the dependency.

Hopefully, updates will get merged so that I don't have to rely on so many forks.

@SionoiS
Copy link
Collaborator Author

SionoiS commented Nov 25, 2022

The tokio compile errors can be fixed with resolver = 2 in workspace .toml

@SionoiS SionoiS closed this as completed Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant