From 5dc28b5be527bb20031ea91852cd758cd0609dcf Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 20 Jul 2020 13:55:20 +0200 Subject: [PATCH 1/7] (cargo-release) start next development iteration 0.2.2-alpha.0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 15a05bb..648f7da 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dynqueue" -version = "0.2.1" +version = "0.2.2-alpha.0" authors = ["Harald Hoyer "] edition = "2018" From 62e76f1774ffd3559354366ab78ca9311fca6a14 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Wed, 2 Sep 2020 19:31:46 +0000 Subject: [PATCH 2/7] Create Dependabot config file --- .github/dependabot.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..5cde165 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,7 @@ +version: 2 +updates: +- package-ecosystem: cargo + directory: "/" + schedule: + interval: daily + open-pull-requests-limit: 10 From edb93314e3315f3b774a10009ebb85d271d6a54b Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 12 Oct 2020 09:37:04 +0200 Subject: [PATCH 3/7] coverage: only run on branch master --- .github/workflows/coverage.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f4b77d5..d8af1b2 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,6 +1,13 @@ name: coverage -on: [ "push" , "pull_request" ] +on: + push: + branches: + - master + pull_request: + branches: + - master + jobs: test: name: coverage From 8d046cb5024bf66c37efabb6a7d50c2ed74bf072 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 12 Oct 2020 09:41:05 +0200 Subject: [PATCH 4/7] CI: use --all-features --- .github/workflows/rust.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index a9d44c6..6724628 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,6 +16,6 @@ jobs: - name: Run fmt run: cargo fmt --all -- --check - name: Build - run: cargo build --verbose + run: cargo build --verbose --all-features - name: Run tests - run: cargo test --verbose + run: cargo test --verbose --all-features From f79482bb9aa543b3d10f0fb685d03b46b092acb5 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 12 Oct 2020 10:51:34 +0200 Subject: [PATCH 5/7] Update crossbeam-queue requirement from 0.2 to 0.3 --- Cargo.toml | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 648f7da..5fb46f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,4 +16,4 @@ categories = [ "concurrency" ] [dependencies] rayon = "1.3" -crossbeam-queue = { version = "0.2", optional = true } +crossbeam-queue = { version = "0.3", optional = true } diff --git a/src/lib.rs b/src/lib.rs index e822ae0..733cbf9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -198,7 +198,7 @@ impl Queue for SegQueue { #[inline(always)] fn pop(&self) -> Option { - SegQueue::pop(self).ok() + SegQueue::pop(self) } #[inline(always)] From 68ca3cd6fc551e9705b675a113f78cb0aaef4ed1 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 12 Oct 2020 10:54:58 +0200 Subject: [PATCH 6/7] (cargo-release) version 0.3.0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 5fb46f5..db8823c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dynqueue" -version = "0.2.2-alpha.0" +version = "0.3.0" authors = ["Harald Hoyer "] edition = "2018" From 6ac99408c2f36e1f509b179265a43dd069c6a1e3 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Mon, 12 Oct 2020 10:55:30 +0200 Subject: [PATCH 7/7] (cargo-release) start next development iteration 0.3.1-alpha.0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index db8823c..c3396da 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dynqueue" -version = "0.3.0" +version = "0.3.1-alpha.0" authors = ["Harald Hoyer "] edition = "2018"