Commit cc2c31f
committed
add native-tls & rustls features
When cross-compiling, it can be convenient to avoid linking to openssl.
This commit adds a 'native-tls' feature which is selected by default so as to
retain current behaviour. The 'rustls-*' features allows using rustls instead of
openssl.
Compiling with, for instance:
````
default-features = false, features = ["rustls-native-roots"]
```
no longer pulls openssl.1 parent 50f24c9 commit cc2c31f
2 files changed
Lines changed: 256 additions & 12 deletions
0 commit comments