From 5778fb7e4d5b74c195432e9b04c8cd237920f11e Mon Sep 17 00:00:00 2001 From: Matheus Consoli Date: Thu, 18 Apr 2024 16:30:56 -0300 Subject: [PATCH 1/3] Add msrv and a CI check --- .github/workflows/ci.yaml | 7 +++++++ Cargo.toml | 1 + 2 files changed, 8 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index c0da2db..b91e26a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -52,6 +52,13 @@ jobs: command: test args: --all + msrv: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: taiki-e/install-action@cargo-hack + - run: cargo hack check --rust-version --workspace --all-targets --ignore-private + miri: name: "Build and test (miri, nightly)" runs-on: ubuntu-latest diff --git a/Cargo.toml b/Cargo.toml index 8788f27..eac39f1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,6 +10,7 @@ edition = "2021" keywords = [] categories = [] authors = ["Yoshua Wuyts "] +rust-version = "1.75.0" [profile.bench] debug = true From defbeafb2ecd523aaf043ef822f80e1898d88d72 Mon Sep 17 00:00:00 2001 From: Matheus Consoli Date: Thu, 18 Apr 2024 16:47:02 -0300 Subject: [PATCH 2/3] Add CI step to check semver using `cargo-semver-checks` --- .github/workflows/ci.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b91e26a..ea85aa7 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -91,3 +91,11 @@ jobs: - name: Docs run: cargo doc + + semver-checks: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Check semver + uses: obi1kenobi/cargo-semver-checks-action@v2 From 93d5e17948ee6db4837c9455fa4beff5158fcd45 Mon Sep 17 00:00:00 2001 From: Matheus Consoli Date: Thu, 18 Apr 2024 17:03:16 -0300 Subject: [PATCH 3/3] Add Cargo keywords and categories --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index eac39f1..a141570 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,8 +7,8 @@ documentation = "https://docs.rs/futures-concurrency" description = "Structured concurrency operations for async Rust" readme = "README.md" edition = "2021" -keywords = [] -categories = [] +keywords = ["async", "concurrency"] +categories = ["asynchronous", "concurrency"] authors = ["Yoshua Wuyts "] rust-version = "1.75.0"