Compare commits

...

8 commits

Author SHA1 Message Date
Harald Hoyer 6ac99408c2
(cargo-release) start next development iteration 0.3.1-alpha.0 2020-10-12 10:55:30 +02:00
Harald Hoyer 68ca3cd6fc
(cargo-release) version 0.3.0 2020-10-12 10:54:58 +02:00
Harald Hoyer f79482bb9a Update crossbeam-queue requirement from 0.2 to 0.3 2020-10-12 10:51:34 +02:00
Harald Hoyer 8d046cb502 CI: use --all-features 2020-10-12 09:41:05 +02:00
Harald Hoyer edb93314e3 coverage: only run on branch master 2020-10-12 09:37:04 +02:00
Harald Hoyer 7a23122e4b
Merge pull request #6 from haraldh/dependabot/add-v2-config-file
Create Dependabot config file
2020-09-02 21:37:25 +02:00
dependabot-preview[bot] 62e76f1774
Create Dependabot config file 2020-09-02 19:31:46 +00:00
Harald Hoyer 5dc28b5be5 (cargo-release) start next development iteration 0.2.2-alpha.0 2020-07-20 13:55:20 +02:00
5 changed files with 20 additions and 6 deletions

7
.github/dependabot.yml vendored Normal file
View file

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

View file

@ -1,6 +1,13 @@
name: coverage
on: [ "push" , "pull_request" ]
on:
push:
branches:
- master
pull_request:
branches:
- master
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
run: cargo build --verbose --all-features
- name: Run tests
run: cargo test --verbose
run: cargo test --verbose --all-features

View file

@ -1,6 +1,6 @@
[package]
name = "dynqueue"
version = "0.2.1"
version = "0.3.1-alpha.0"
authors = ["Harald Hoyer <harald@redhat.com>"]
edition = "2018"
@ -16,4 +16,4 @@ categories = [ "concurrency" ]
[dependencies]
rayon = "1.3"
crossbeam-queue = { version = "0.2", optional = true }
crossbeam-queue = { version = "0.3", 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).ok()
SegQueue::pop(self)
}
#[inline(always)]