diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e09e898fe160..6b316fd6bc43 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -100,3 +100,27 @@ jobs: run: rustup component add rustfmt - name: Run run: cargo fmt --all -- --check + + msrv: + name: Verify MSRV + runs-on: ubuntu-latest + container: + image: amd64/rust + steps: + - uses: actions/checkout@v3 + - name: Setup Rust toolchain + uses: ./.github/actions/setup-builder + - name: Install cargo-msrv + run: cargo install cargo-msrv + - name: Check arrow + working-directory: arrow + run: cargo msrv verify + - name: Check parquet + working-directory: parquet + run: cargo msrv verify + - name: Check arrow-flight + working-directory: arrow-flight + run: cargo msrv verify + - name: Check object_store + working-directory: object_store + run: cargo msrv verify diff --git a/arrow-flight/Cargo.toml b/arrow-flight/Cargo.toml index ae9759b6685f..33c49057e17e 100644 --- a/arrow-flight/Cargo.toml +++ b/arrow-flight/Cargo.toml @@ -26,6 +26,8 @@ homepage = { workspace = true } repository = { workspace = true } license = { workspace = true } +metadata.msrv = "1.70.0" + [dependencies] arrow-arith = { workspace = true, optional = true } arrow-array = { workspace = true } diff --git a/arrow/Cargo.toml b/arrow/Cargo.toml index ed4786fb3172..eafe2ffde9ca 100644 --- a/arrow/Cargo.toml +++ b/arrow/Cargo.toml @@ -33,6 +33,8 @@ include = [ edition = { workspace = true } rust-version = { workspace = true } +metadata.msrv = "1.70.0" + [lib] name = "arrow" path = "src/lib.rs" diff --git a/object_store/Cargo.toml b/object_store/Cargo.toml index 5e2009d07013..b764e3b0e43b 100644 --- a/object_store/Cargo.toml +++ b/object_store/Cargo.toml @@ -25,6 +25,8 @@ description = "A generic object store interface for uniformly interacting with A keywords = ["object", "storage", "cloud"] repository = "https://github.com/apache/arrow-rs/tree/master/object_store" +metadata.msrv = "1.62.1" + [package.metadata.docs.rs] all-features = true diff --git a/parquet/Cargo.toml b/parquet/Cargo.toml index 52b0f049752c..753228d6c9e6 100644 --- a/parquet/Cargo.toml +++ b/parquet/Cargo.toml @@ -28,6 +28,8 @@ readme = "README.md" edition = { workspace = true } rust-version = { workspace = true } +metadata.msrv = "1.70.0" + [target.'cfg(target_arch = "wasm32")'.dependencies] ahash = { version = "0.8", default-features = false, features = ["compile-time-rng"] }