Move yew/services to yew-services crate#1693
Conversation
|
Visit the preview URL for this PR (updated for commit 5e952bb): https://yew-rs--pr1693-yew-services-grlj554u.web.app (expires Sat, 30 Jan 2021 13:44:47 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 |
|
Thanks @hamza1311! I'm wondering if it would be nice to keep the services feature and use it to re-export yew-services at yew::services |
|
@jstarry, that won't work right now because Maybe we could that in a future PR when yew is broken up even more so we can avoid the circular dependency |
|
Ah right, thanks. Yeah that can come later, it probably will make sense to remove yew-services' dependency on yew altogether |
# Conflicts: # .github/workflows/pull-request.yml # packages/yew-services/src/websocket.rs # packages/yew-stdweb/Cargo.toml # packages/yew/Cargo.toml # packages/yew/src/callback.rs
|
Just bumping this. |
|
Apparently the chrome driver won't start. Any idea what might have gone wrong? |
Hmm, not really sure. I just retried the job |
Yeah, let's get it in! |
jstarry
left a comment
There was a problem hiding this comment.
There's still quite a bit of cleanup left to do. Maybe we should remove yew-stdweb first?
What you pointed out seems to be because IntelliJ's merge tool somewhat messed up. I fixed up.
I think if we can get this done now, it should happen. Maybe |
Ok, great :)
Why is that?
Yeah, that sounds good |
Because those don't have a specific dependence on |
Ah, I see. It's ok, yew-stdweb removal is almost done anyways |
|
Looks great, @hamza1311! I just added a few small tweaks as well and will merge if CI passes. Thank you! |
Description
Move
yew/servicesto a newyew-servicescrate. This is one part of the work needed to be done for #1670.Checklist
cargo make pr-flowNote: I've had some of the stdweb tests fail, don't know why
Not applicable, only refactoring
Note: I ensured that this code compiles with both
web_sysandstdwebbut I ran the tests only withweb_sys