Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing required features to Cargo.toml for examples #432

Merged
merged 9 commits into from
Nov 8, 2024
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,4 @@ jobs:

# Run the temporary script:

bash ${{ runner.temp }}/check-examples.sh
bash -x -e ${{ runner.temp }}/check-examples.sh
8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,23 +120,23 @@ 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"
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"
Expand Down
1 change: 1 addition & 0 deletions examples/client-transports.rs
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Loading