diff --git a/.github/workflows/rust_tests.yml b/.github/workflows/rust_tests.yml index 791c8f2..67749ab 100644 --- a/.github/workflows/rust_tests.yml +++ b/.github/workflows/rust_tests.yml @@ -32,19 +32,19 @@ jobs: if: matrix.target == 'x86_64-unknown-linux-musl' # # Caching stuff - # - uses: actions/cache@v2 - # with: - # path: | - # ~/.cargo/bin/ - # ~/.cargo/registry/index/ - # ~/.cargo/registry/cache/ - # ~/.cargo/git/db/ - # key: ${{ runner.os }}-cargo-deps-${{ hashFiles('**/Cargo.toml') }} - # - uses: actions/cache@v2 - # with: - # path: | - # target/ - # key: ${{ runner.os }}-cargo-target-${{ matrix.toolchain }}-${{ matrix.target }}-${{ hashFiles('**/Cargo.toml') }} + - uses: actions/cache@v2 + with: + path: | + ~/.cargo/bin/ + ~/.cargo/registry/index/ + ~/.cargo/registry/cache/ + ~/.cargo/git/db/ + key: ${{ runner.os }}-cargo-deps-${{ hashFiles('**/Cargo.toml') }} + - uses: actions/cache@v2 + with: + path: | + target/ + key: ${{ runner.os }}-cargo-target-${{ matrix.toolchain }}-${{ matrix.target }}-${{ hashFiles('**/Cargo.toml') }} - uses: actions-rs/toolchain@v1 with: toolchain: ${{ matrix.toolchain }} diff --git a/Cargo.toml b/Cargo.toml index 29f150b..8beeeec 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -47,7 +47,7 @@ actix-web = { version = "4", optional = true } actix-http = { version = "3", optional = true } reqwest-lib = { version = "^0.11", default-features = false, features = ["rustls-tls"], optional = true, package = "reqwest" } rdkafka-lib = { version = "^0.29", features = ["cmake-build"], optional = true, package = "rdkafka" } -warp-lib = { version = "^0.3", optional = true, package = "warp" } +warp-lib = { version = "=0.3.5", optional = true, package = "warp" } async-trait = { version = "^0.1.33", optional = true } bytes = { version = "^1.0", optional = true } futures = { version = "^0.3", optional = true }