Skip to content

How to use Server in V1.4.* #2494

Answered by davidbarsky
daiguadaidai asked this question in Q&A
Discussion options

You must be logged in to vote

Try declaring the hyper dependency in your Cargo.toml with the full feature flag:

hyper = { version = "0.14", features = ["full"] }

The documentation explains what full enables: https://docs.rs/hyper/0.14.5/hyper/#optional-features.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sebpuetz
Comment options

Answer selected by seanmonstar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #2493 on April 07, 2021 20:51.