hyper
v0.14.28 fails to build w/ tokio < v1.27
#3653
Labels
C-bug
Category: bug. Something is wrong. This is bad!
hyper
v0.14.28 fails to build w/ tokio < v1.27
#3653
Version
More complete tree
Platform
Description
hyper
only declares its dependency ontokio
as:However,
hyper
really requires at least v1.27.If you attempt to compile hyper, and your lockfile has
tokio
locked to a lower version, you'll get:This error is correct:
tokio::net::TcpStream
does notimpl AsFd
: docs at v1.26. Thatimpl
isn't added until v1.27.So,
hyper
depends on at leasttokio
v1.27; it'd be nice to haveCargo.toml
note that, as that will causecargo
to realize that it must upgrade that dependency in the lockfile:It does compile against v1.27.
The text was updated successfully, but these errors were encountered: