Make dependence on rustls optional
redmie opened this issue · 3 comments
redmie commented
I host on constrained resource behind a nginx reverse proxy that handles https.
As such I would benefit from having rustls as an optional dep. for reduced attack surface and smaller binary size.
This can be achieved by using cargo features flags (#[cfg(...)]
)
dobefore commented
good point! I will give this a try.
dobefore commented
A pr has been made,hope you can give some advice,mainly in main.rs