-
Hi, HTTP feature described here, how do I import into my code? Feature list specified in that toml, doesn't seem to be exported? If I explicitly specify this way, I could use HTTP features [dependencies]
eframe = { version = "0.12.0", features = ["http"] } instead of this [dependencies]
eframe = "0.12.0"
[features]
default = []
http = ["eframe/http"] # Enable if you want to do http requests |
Beta Was this translation helpful? Give feedback.
Answered by
parasyte
Jun 17, 2021
Replies: 1 comment
-
The
If you want to always enable the feature instead of making it a compile-time decision, Change it to the way you have. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
trickster
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
Cargo.toml
in the template repo is written so that you enable thehttp
feature when building the app.If you want to always enable the feature instead of making it a compile-time decision, Change it to the way you have.