From 78fceb1fbf114d0c763c2ede29430a1a2cb9daac Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Thu, 20 Apr 2023 20:00:54 -0700 Subject: [PATCH] features on tests --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index a09e71ff..8e904724 100644 --- a/Dockerfile +++ b/Dockerfile @@ -35,20 +35,20 @@ COPY . . # test the application with cargo-nextest RUN --mount=type=cache,target=/usr/local/cargo/registry \ --mount=type=cache,target=/app/target \ - cargo nextest run + cargo nextest run --features "rdkafka-src tokio-uring" --no-default-features # build the application # using a "release" profile (which install does) is **very** important RUN --mount=type=cache,target=/usr/local/cargo/registry \ --mount=type=cache,target=/app/target \ cargo install \ - --features tokio-uring \ + --features "rdkafka-src tokio-uring" \ --locked \ - --features rdkafka-src \ --no-default-features \ --path ./web3_proxy \ --profile faster_release \ - --root /usr/local/bin + --root /usr/local/bin \ + ; # # We do not need the Rust toolchain to run the binary!