Compiling rumqtt v0.31.0
error[E0308]: mismatched types
--> /home/xav/.cargo/registry/src/github.com-1ecc6299db9ec823/rumqtt-0.31.0/src/client/network.rs:130:34
|
130 | config.set_protocols(&self.alpn_protocols);
| ^^^^^^^^^^^^^^^^^^^^ expected slice, found struct `std::vec::Vec`
|
= note: expected type `&[std::string::String]`
found type `&std::vec::Vec<std::vec::Vec<u8>>`
error: aborting due to previous error
For more information about this error, try `rustc --explain E0308`.
error: Could not compile `rumqtt`.
warning: build failed, waiting for other jobs to finish...
error: build failed