ankicommunity/anki-sync-server-rs

Make dependence on rustls optional

redmie opened this issue · 3 comments

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(...)])

good point! I will give this a try.

A pr has been made,hope you can give some advice,mainly in main.rs

Given my thoughts in the comment of #13.

Big thanks for your contribution and for the time you allocated to this project!