0x676e67 / reqwest-impersonate

An easy and powerful Rust HTTP / WebSocket Client

Home Page:https://github.com/seanmonstar/reqwest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiler errors when enabling tls features

deedy5 opened this issue · comments

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