Closed reza-ebrahimi closed 3 years ago
actix-web-actors
3.0 does not support actix
0.11. Use 0.10 instead
@fakeshadow Thank you! It compiles now.
[dependencies]
actix = "0.10.0"
Using resolver = "2"
breaks the actix = "0.10"
fix.
Unfortunately I need resolver = "2"
for wgpu.
Will actix-web-actors ever support newer actix? It's still broken as of 0.12.0.
Same issue, are there any plans to support actors in 0.12.0 or future actix versions?
yes, the current master branch here is using 0.12
Current master branch supports actix 0.12 but not
actix-web 3
actix-web= "4.0.0-beta.21" doesn't solve this problem. Is it impossible to use Websocket with actix for almost a year without downgrade?
Impossible? Certainly not. The options are:
4.0.0-rc.2 doesn't solve this problem. So, need to downgrade to actix 0.10 as I told previously. Sorry.
4.0.0-rc.2 doesn't solve this problem. So, need to downgrade to actix 0.10 as I told previously. Sorry.
it works fine for me
I was having build issues in my CI giving this error:
the trait `actix::actor::Actor` is not implemented for `WebSocketConnection`
Without having changed any relevant code, so it had to be something that was updated upstream. Using --locked
worked, so I was pretty sure it's a version.
Anyways, setting actix-web-actors = "=4.0.0"
fixed this for me.
I think it's a actix-web-actors
4.1.0 issue.
@joepio Please reproduce the error again and then dump the output of cargo tree
. This should help trqcing the error.
@aliemjay
I think the version range in actix-web-actors
doesn't work how I expected. I expanded the actix
dependency range to include both 0.12 and 0.13 but it seems like cargo doesn't select the right version all the time. I'll have a look into it and may need to yank it.
Problem:
The trait bound `Ws: actix::actor::Actor` is not satisfied
compile error.Your Environment:
Rust Version (I.e, output of
rustc -V
):Actix Web Version:
Test Code:
Error: