Enable trust-dns in CI.
This commit is contained in:
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@@ -65,7 +65,7 @@ jobs:
|
|||||||
- "feat.: stream"
|
- "feat.: stream"
|
||||||
- "feat.: socks/default-tls"
|
- "feat.: socks/default-tls"
|
||||||
- "feat.: socks/rustls-tls"
|
- "feat.: socks/rustls-tls"
|
||||||
# - "feat.: trust-dns"
|
- "feat.: trust-dns"
|
||||||
|
|
||||||
include:
|
include:
|
||||||
- name: linux / stable
|
- name: linux / stable
|
||||||
@@ -123,8 +123,8 @@ jobs:
|
|||||||
features: "--features socks"
|
features: "--features socks"
|
||||||
- name: "feat.: socks/rustls-tls"
|
- name: "feat.: socks/rustls-tls"
|
||||||
features: "--features socks,rustls-tls"
|
features: "--features socks,rustls-tls"
|
||||||
# - name: "feat.: trust-dns"
|
- name: "feat.: trust-dns"
|
||||||
# features: "--features trust-dns"
|
features: "--features trust-dns"
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ use crate::error::BoxError;
|
|||||||
type SharedResolver = Arc<AsyncResolver<TokioConnection, TokioConnectionProvider>>;
|
type SharedResolver = Arc<AsyncResolver<TokioConnection, TokioConnectionProvider>>;
|
||||||
|
|
||||||
lazy_static! {
|
lazy_static! {
|
||||||
static ref SYSTEM_CONF: io::Result<(ResolverConfig, ResolverOpts)> = system_conf::read_system_conf();
|
static ref SYSTEM_CONF: io::Result<(ResolverConfig, ResolverOpts)> = system_conf::read_system_conf().map_err(io::Error::from);
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
|
|||||||
Reference in New Issue
Block a user