Add new feature trust-dns to lib & bin (#318)

* Add new feature `trust-dns` to lib & bin
* Enable `trust-dns` feature by default
   Because the `getaddrinfo` is a poorly designed API.
* USe default feature set on windows CI
   because wintls on the CI does not support TLS 1.3 and trust-dns only
   support dns over https if rustls is used.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-08-25 10:01:22 +10:00 committed by GitHub
parent 846e7ead91
commit 4def4d08fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 259 additions and 7 deletions

View file

@ -37,7 +37,6 @@ jobs:
- target: x86_64-pc-windows-msvc
os: windows-latest
debug_features: [ native-tls ]
release_features: [ static, zlib-ng, native-tls, fancy-no-backtrace ]
- target: x86_64-unknown-linux-musl
os: ubuntu-latest
- target: armv7-unknown-linux-musleabihf