From 8e8de9d5804831f471b8751d0ae962f7ffa2e9f4 Mon Sep 17 00:00:00 2001 From: Elvis Pranskevichus Date: Mon, 26 Feb 2024 12:47:20 -0800 Subject: [PATCH] Bump snafu to 0.8.1 --- .github/workflows/rust.yml | 33 ++++++++++++--------------------- edgedb-protocol/Cargo.toml | 2 +- 2 files changed, 13 insertions(+), 22 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 8f493593..3606ddd0 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -8,36 +8,27 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - rust_version: [1.65, stable, beta] + rust_version: ["1.72", stable, beta] timeout-minutes: 15 steps: - uses: actions/checkout@master - - uses: edgedb/setup-edgedb@v1.2.2 - - uses: actions-rs/toolchain@v1 + - uses: edgedb/setup-edgedb@v1 + - uses: dtolnay/rust-toolchain@be73d7920c329f220ce78e0234b8f96b7ae60248 with: - profile: minimal + components: "cargo,rustc,rust-std" toolchain: ${{ matrix.rust_version }} - default: true - name: Test all features - uses: actions-rs/cargo@v1 - with: - command: test - args: --workspace --all-features + run: | + cargo test --workspace --all-features - name: Check no default features - uses: actions-rs/cargo@v1 - with: - command: check - args: --no-default-features --workspace + run: | + cargo check --no-default-features --workspace - name: Check with `fs` feature (edgedb-tokio) - uses: actions-rs/cargo@v1 - with: - command: check - args: --features=fs --package edgedb-tokio + run: | + cargo check --features=fs --package edgedb-tokio - name: Check with env feature, edgedb-tokio - uses: actions-rs/cargo@v1 - with: - command: check - args: --features=env --package edgedb-tokio + run: | + cargo check --features=env --package edgedb-tokio - name: Test protocol without default features working-directory: ./edgedb-protocol run: | diff --git a/edgedb-protocol/Cargo.toml b/edgedb-protocol/Cargo.toml index d41ac518..936dbeb0 100644 --- a/edgedb-protocol/Cargo.toml +++ b/edgedb-protocol/Cargo.toml @@ -13,7 +13,7 @@ rust-version = "1.65" [dependencies] bytes = "1.5.0" -snafu = {version="0.7.0"} +snafu = {version="0.8.0"} uuid = "1.1.2" num-bigint = {version="0.4.3", optional=true} num-traits = {version="0.2.10", optional=true}