From 2e46edeef7bb25d05dbbe63052aad00c4ba02170 Mon Sep 17 00:00:00 2001 From: Adam Gutglick Date: Thu, 9 Dec 2021 20:18:49 +0200 Subject: [PATCH 1/2] Fix: fixes a broken link and some missing styling in the main arrow crate docs (#1013) --- arrow/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arrow/src/lib.rs b/arrow/src/lib.rs index 2c2590cb4fc3..0609f8ff3227 100644 --- a/arrow/src/lib.rs +++ b/arrow/src/lib.rs @@ -89,7 +89,7 @@ //! //! ## Compute //! -//! This crate offers many operations (called kernels) to operate on `Array`s, that you can find at [compute::kernels]. +//! This crate offers many operations (called kernels) to operate on [`Array`](array::Array)s, that you can find at [`Kernel`](compute::kernels). //! It has both vertical and horizontal operations, and some of them have an SIMD implementation. //! //! ## Status @@ -118,9 +118,9 @@ //! //! Finally, this crate implements some readers and writers to different formats: //! -//! * json: [reader](json::reader::Reader) -//! * csv: [reader](csv::reader::Reader) and [writer](csv::writer::Writer) -//! * ipc: [reader](ipc::reader::StreamReader) and [writer](ipc::writer::FileWriter) +//! * JSON: [`Reader`](json::reader::Reader) +//! * CSV: [`Reader`](csv::reader::Reader) and [`Writer`](csv::writer::Writer) +//! * IPC: [`Reader`](ipc::reader::StreamReader) and [`Writer`](ipc::writer::FileWriter) //! //! The parquet implementation is on a [separate crate](https://crates.io/crates/parquet) From e0abda2c178be0c38d4257d22de2e4a3bfafde82 Mon Sep 17 00:00:00 2001 From: Andrew Lamb Date: Fri, 10 Dec 2021 10:11:45 -0500 Subject: [PATCH 2/2] Force new cargo and target caching to fix CI (#1023) --- .github/workflows/rust.yml | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1f062d20f1f3..dd9587829ad3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -46,14 +46,14 @@ jobs: # these represent dependencies downloaded by cargo # and thus do not depend on the OS, arch nor rust version. path: /github/home/.cargo - key: cargo-cache2- + key: cargo-cache3- - name: Cache Rust dependencies uses: actions/cache@v2 with: # these represent compiled steps of both dependencies and arrow # and thus are specific for a particular OS, arch and rust version. path: /github/home/target - key: ${{ runner.os }}-${{ matrix.arch }}-target-cache-${{ matrix.rust }}- + key: ${{ runner.os }}-${{ matrix.arch }}-target-cache3-${{ matrix.rust }}- - name: Setup Rust toolchain run: | rustup toolchain install ${{ matrix.rust }} @@ -91,13 +91,13 @@ jobs: with: path: /github/home/.cargo # this key equals the ones on `linux-build-lib` for re-use - key: cargo-cache2- + key: cargo-cache3- - name: Cache Rust dependencies uses: actions/cache@v2 with: path: /github/home/target # this key equals the ones on `linux-build-lib` for re-use - key: ${{ runner.os }}-${{ matrix.arch }}-target-cache-${{ matrix.rust }} + key: ${{ runner.os }}-${{ matrix.arch }}-target-cache3-${{ matrix.rust }} - name: Setup Rust toolchain run: | rustup toolchain install ${{ matrix.rust }} @@ -147,14 +147,12 @@ jobs: uses: actions/cache@v2 with: path: /github/home/.cargo - # this key equals the ones on `linux-build-lib` for re-use - key: cargo-cache2- + key: cargo-nightly-cache3- - name: Cache Rust dependencies uses: actions/cache@v2 with: path: /github/home/target - # this key equals the ones on `linux-build-lib` for re-use - key: ${{ runner.os }}-${{ matrix.arch }}-target-cache-${{ matrix.rust }} + key: ${{ runner.os }}-${{ matrix.arch }}-target-nightly-cache3-${{ matrix.rust }} - name: Setup Rust toolchain run: | rustup toolchain install ${{ matrix.rust }} @@ -223,13 +221,13 @@ jobs: with: path: /github/home/.cargo # this key equals the ones on `linux-build-lib` for re-use - key: cargo-cache2- + key: cargo-cache3- - name: Cache Rust dependencies uses: actions/cache@v2 with: path: /github/home/target # this key equals the ones on `linux-build-lib` for re-use - key: ${{ runner.os }}-${{ matrix.arch }}-target-cache-${{ matrix.rust }} + key: ${{ runner.os }}-${{ matrix.arch }}-target-cache3-${{ matrix.rust }} - name: Setup Rust toolchain run: | rustup toolchain install ${{ matrix.rust }} @@ -277,13 +275,13 @@ jobs: with: path: /home/runner/.cargo # this key is not equal because the user is different than on a container (runner vs github) - key: cargo-coverage-cache- + key: cargo-coverage-cache3- - name: Cache Rust dependencies uses: actions/cache@v2 with: path: /home/runner/target # this key is not equal because coverage uses different compilation flags. - key: ${{ runner.os }}-${{ matrix.arch }}-target-coverage-cache-${{ matrix.rust }}- + key: ${{ runner.os }}-${{ matrix.arch }}-target-coverage-cache3-${{ matrix.rust }}- - name: Run coverage run: | export CARGO_HOME="/home/runner/.cargo" @@ -324,13 +322,12 @@ jobs: uses: actions/cache@v2 with: path: /github/home/.cargo - # this key equals the ones on `linux-build-lib` for re-use - key: cargo-cache2- + key: cargo-wasm32-cache3- - name: Cache Rust dependencies uses: actions/cache@v2 with: path: /github/home/target - key: ${{ runner.os }}-${{ matrix.arch }}-target-wasm32-cache-${{ matrix.rust }} + key: ${{ runner.os }}-${{ matrix.arch }}-target-wasm32-cache3-${{ matrix.rust }} - name: Setup Rust toolchain run: | rustup toolchain install ${{ matrix.rust }} @@ -366,13 +363,13 @@ jobs: with: path: /github/home/.cargo # this key equals the ones on `linux-build-lib` for re-use - key: cargo-cache2- + key: cargo-cache3- - name: Cache Rust dependencies uses: actions/cache@v2 with: path: /github/home/target # this key equals the ones on `linux-build-lib` for re-use - key: ${{ runner.os }}-${{ matrix.arch }}-target-cache-${{ matrix.rust }} + key: ${{ runner.os }}-${{ matrix.arch }}-target-cache3-${{ matrix.rust }} - name: Setup Rust toolchain run: | rustup toolchain install ${{ matrix.rust }}