How to use Server in V1.4.* #2494
Answered
by
davidbarsky
daiguadaidai
asked this question in
Q&A
-
hyper version: 1.4.*
IDE hyper version: 1.3.*
IDE can import |
Beta Was this translation helpful? Give feedback.
Answered by
davidbarsky
Apr 7, 2021
Replies: 1 comment 1 reply
-
Try declaring the hyper = { version = "0.14", features = ["full"] } The documentation explains what |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
seanmonstar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Try declaring the
hyper
dependency in yourCargo.toml
with thefull
feature flag:The documentation explains what
full
enables: https://docs.rs/hyper/0.14.5/hyper/#optional-features.