diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 164dfd223..cec2d4091 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -110,4 +110,4 @@ jobs: # Run the temporary script: - bash ${{ runner.temp }}/check-examples.sh + bash -x -e ${{ runner.temp }}/check-examples.sh diff --git a/Cargo.toml b/Cargo.toml index 254b4a5c9..9a0cf6192 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -121,11 +121,11 @@ required-features = ["std", "rand"] [[example]] name = "client-transports" -required-features = ["net", "unstable-client-transport"] +required-features = ["net", "tokio-rustls", "unstable-client-transport"] [[example]] name = "server-transports" -required-features = ["net", "unstable-server-transport"] +required-features = ["net", "tokio-stream", "tracing-subscriber", "unstable-client-transport", "unstable-server-transport"] [[example]] name = "read-zone" @@ -133,11 +133,11 @@ required-features = ["zonefile"] [[example]] name = "query-zone" -required-features = ["zonefile", "unstable-zonetree"] +required-features = ["tracing-subscriber", "unstable-zonetree", "zonefile"] [[example]] name = "serve-zone" -required-features = ["zonefile", "net", "unstable-server-transport", "unstable-zonetree"] +required-features = ["zonefile", "net", "tokio-stream", "tracing-subscriber", "tsig", "unstable-client-transport", "unstable-server-transport", "unstable-zonetree"] [[example]] name = "ixfr-client" diff --git a/examples/client-transports.rs b/examples/client-transports.rs index 29bb0f117..40f0e9a9a 100644 --- a/examples/client-transports.rs +++ b/examples/client-transports.rs @@ -1,6 +1,7 @@ /// Using the `domain::net::client` module for sending a query. use std::net::{IpAddr, SocketAddr}; use std::str::FromStr; +#[cfg(feature = "unstable-validator")] use std::sync::Arc; use std::time::Duration; use std::vec::Vec;