Hi William! Thanks for getting in touch :) There are two answers here -
one is that current rust-websocket relies on a newer version of hyper
than Servo, so to move ahead right now you should use an older version
of rust-websocket (https://crates.io/crates/websocket). You can change
the precise version used by Servo with the command `./mach update-cargo
-p websocket --precise <version>`. If there is not a crates.io release
that fits, you may need to use a git dependency instead and choose a
precise git revision. Let us know if anything I just wrote is unclear!
Cheers,
Josh
On 2015-03-12 1:01 PM, William Galliher wrote:
Hello Servo devs,
We are a team trying to implement the current Rust WebSocket project in to
servo, and we have run in to a bit of a problem. Rust Websocket 0.10.5
(current version) relies on Hyper 0.3.0. Unfortunately, Hyper 0.3.0 relies
on some modules in Rust that don't seem to be present in the current servo
rust version. One, for example, is std::net::SocketAddr, another is
std::marker::PhantomData. Before we attempted to upgrade the version of
Rust that servo is using, however, we were advised to contact the list and
see if you all had any advice or help with getting hyper 0.3.0 to compile
in the current servo build.
Thanks so much!
William Galliher
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo