zhboner/realm

Compiling stuck at lightws

Closed this issue · 1 comments

❯ cargo +nightly build --release
   Compiling lightws v0.6.6
error[E0432]: unresolved import `std::io::ReadBuf`
  --> /home/y/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/lightws-0.6.6/src/stream/read.rs:61:13
   |
61 |         use std::io::ReadBuf;
   |             ^^^^^^^^^-------
   |             |        |
   |             |        help: a similar name exists in the module: `readbuf`
   |             no `ReadBuf` in `io`

For more information about this error, try `rustc --explain E0432`.
error: could not compile `lightws` due to previous error

Fixed, thanks @sabify.

lightws is updated to v0.6.7, please run cargo update first.