Compare commits

..

No commits in common. "master" and "v0.2.1" have entirely different histories.

5 changed files with 6 additions and 20 deletions

View file

@ -1,7 +0,0 @@
version: 2
updates:
- package-ecosystem: cargo
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10

View file

@ -1,13 +1,6 @@
name: coverage
on:
push:
branches:
- master
pull_request:
branches:
- master
on: [ "push" , "pull_request" ]
jobs:
test:
name: coverage

View file

@ -16,6 +16,6 @@ jobs:
- name: Run fmt
run: cargo fmt --all -- --check
- name: Build
run: cargo build --verbose --all-features
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose --all-features
run: cargo test --verbose

View file

@ -1,6 +1,6 @@
[package]
name = "dynqueue"
version = "0.3.1-alpha.0"
version = "0.2.1"
authors = ["Harald Hoyer <harald@redhat.com>"]
edition = "2018"
@ -16,4 +16,4 @@ categories = [ "concurrency" ]
[dependencies]
rayon = "1.3"
crossbeam-queue = { version = "0.3", optional = true }
crossbeam-queue = { version = "0.2", optional = true }

View file

@ -198,7 +198,7 @@ impl<T> Queue<T> for SegQueue<T> {
#[inline(always)]
fn pop(&self) -> Option<T> {
SegQueue::pop(self)
SegQueue::pop(self).ok()
}
#[inline(always)]