Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting compilation error in 17.1 #37

Closed
surajprak opened this issue Jan 24, 2019 · 2 comments
Closed

getting compilation error in 17.1 #37

surajprak opened this issue Jan 24, 2019 · 2 comments

Comments

@surajprak
Copy link

error[E0432]: unresolved import tokio::net::tcp
--> /home/suraj.prakash/.cargo/registry/src/github.jparrowsec.cn-1ecc6299db9ec823/mysql_async-0.17.1/src/io/futures/connecting_stream.rs:16:18
|
16 | use tokio::net::{tcp::ConnectFuture, TcpStream};
| ^^^ could not find tcp in net

error: aborting due to previous error

@blackbeam
Copy link
Owner

Hi.

Looks like it won't work with tokio < 0.1.9. I'll add this constraint to the Cargo.toml in the next version.
cargo update may help you with this problem if your project does not depend on something that strictly requires tokio <= 0.1.8.

@blackbeam
Copy link
Owner

Fixed in v0.17.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants