Skip to content

How do I use the http feature in the code specified in template repo? #486

Answered by parasyte
trickster asked this question in Q&A
Discussion options

You must be logged in to vote

The Cargo.toml in the template repo is written so that you enable the http feature when building the app.

$ cargo run --release --features http

If you want to always enable the feature instead of making it a compile-time decision, Change it to the way you have.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by trickster
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants