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"]