From bb46dcc8ae1db7e61d03e6125fdaebd8ded9f580 Mon Sep 17 00:00:00 2001 From: Martin Hoffmann Date: Thu, 27 Aug 2020 11:48:35 +0200 Subject: [PATCH] =?UTF-8?q?Don=E2=80=99t=20include=20the=20interop=20featu?= =?UTF-8?q?re=20in=20Github=20Actions.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 2 +- Cargo.toml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ce668039..2dfbeef4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,5 +20,5 @@ jobs: - if: matrix.rust != 'nightly' run: cargo clippy --all-features -- -D warnings - run: cargo build --no-default-features --verbose - - run: cargo test --all-features --verbose + - run: cargo test --features="master resolv resolv-sync sign tsig validate" --verbose diff --git a/Cargo.toml b/Cargo.toml index e364b8b9..2de93a5c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,6 +27,8 @@ smallvec = { version = "1.2", optional = true } tokio = { version = "0.2.13", optional = true, features = ["io-util", "macros", "tcp", "time", "udp"] } [features] +# If you add a feature here, also add it to .github/workflows/ci.yml for the +# cargo test run. Only interop must not be present. default = ["std"] interop = ["bytes", "ring"] master = ["std", "bytes", "chrono"]