0x676e67/rquest

Compiler errors when enabling tls features

deedy5 opened this issue · 2 comments

deedy5 commented

How to reproduce the problem:

https://github.com/gngpp/reqwest-impersonate/blob/67ce1ec25cdb93b99f1b5c2d8ba4547c4977de67/Cargo.toml#L24-L25

Add default-tls or native-tls or rustls-tls to default:

[features]
default = ["boring-tls", "impersonate", "rustls-tls"]

This library is only suitable for boring tls.

To use other tls, you need to turn off the default features. And the compilation may fail. If you have time to fix it, please pr