https://linen.dev logo
[Fixed dependencies] bypass tokio/deps version req...
# help
h
I'm trying to deploy using the
Dioxus LiveView
+
WebSockets
+ `Axum`server. Unfortunately,
liveview
depends on
tokio
to be at least
^1.23.1
but
shuttle
is fixed to be
=1.22.0
so they don't work together. I had to hack my setup and patch
tokio
Cargo dependencies to bypass the requirements. It works perfectly locally with
cargo shuttle run
but sadly can't deploy. I understand that
shuttle-service
probably had to fix some dependencies so CI/CD will be immutable and easily reproducible but
tokio
is a fast paced crate with versions outdated within weeks and a lot of other crates depend on it. Is there a workaround for this and so I can deploy? Thanks🦀!
k
Welcome! Unfortunately we have to pin the tokio version due to this issue: . We will increase the pinned version eventually, but it's not likely to be very soon. Are you able to use an older version of Dioxus, perhaps?
h
The older version of
dioxus-liveview
is outdated by 9 months. I tried it but didn't work without mostly rewriting everything in
liveview
section. I'll search for some old documentation that maybe help me out. I'll share any progress
2 Views