Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
5204b59
Test workflow
raviqqe Sep 1, 2025
79b3b6b
Fix
raviqqe Sep 1, 2025
8e0d194
Fix
raviqqe Sep 1, 2025
1db38ce
Fix
raviqqe Sep 1, 2025
41bb2a1
Fix
raviqqe Sep 1, 2025
a8c421f
Fix
raviqqe Sep 1, 2025
54f34f4
Fix
raviqqe Sep 1, 2025
3ffe819
Fix
raviqqe Sep 1, 2025
5f72fb4
Fix
raviqqe Sep 1, 2025
62ee496
Fix
raviqqe Sep 1, 2025
e9a8991
Fix
raviqqe Sep 1, 2025
5f5ac7b
fix
raviqqe Sep 1, 2025
fd627e4
Fix
raviqqe Sep 1, 2025
d80ebbd
Fix
raviqqe Sep 1, 2025
e55ef71
Fix
raviqqe Sep 1, 2025
f6ee3d4
Fix
raviqqe Sep 1, 2025
a54a24f
Fix
raviqqe Sep 1, 2025
e124e20
Fix
raviqqe Sep 1, 2025
5945c20
Fix
raviqqe Sep 1, 2025
954e2da
fix
raviqqe Sep 1, 2025
49e382e
Fix
raviqqe Sep 1, 2025
f2025b3
fix
raviqqe Sep 1, 2025
e57b6cb
Fix
raviqqe Sep 1, 2025
ee000f1
Fix
raviqqe Sep 1, 2025
fb92b2d
Fix
raviqqe Sep 1, 2025
a0c2b8b
fix
raviqqe Sep 1, 2025
642ddc7
Fix
raviqqe Sep 1, 2025
ae5383b
Fix
raviqqe Sep 1, 2025
974b525
Fix
raviqqe Sep 1, 2025
0158141
Fix
raviqqe Sep 1, 2025
0364673
Fix
raviqqe Sep 1, 2025
aa8aac6
Fix
raviqqe Sep 1, 2025
af911c2
Fix
raviqqe Sep 1, 2025
945e87a
Fix
raviqqe Sep 1, 2025
2e4af00
Fix
raviqqe Sep 1, 2025
fb92296
Fix
raviqqe Sep 1, 2025
119b9dc
Fix
raviqqe Sep 1, 2025
c9d75b4
Fix
raviqqe Sep 1, 2025
c774932
Fix
raviqqe Sep 1, 2025
068b26b
Fix
raviqqe Sep 1, 2025
22967f2
Fix
raviqqe Sep 1, 2025
d3a1a6d
Fix
raviqqe Sep 1, 2025
787afda
fix
raviqqe Sep 1, 2025
651e20e
Fix
raviqqe Sep 1, 2025
63cbaa4
Fix
raviqqe Sep 1, 2025
5ff4d5e
Fix
raviqqe Sep 1, 2025
8a08215
fix
raviqqe Sep 1, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 0 additions & 18 deletions .circleci/config.yml

This file was deleted.

10 changes: 10 additions & 0 deletions .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
- package-ecosystem: cargo
directory: /
schedule:
interval: daily
35 changes: 35 additions & 0 deletions .github/workflows/bench.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: bench
on:
push:
branches:
- main
pull_request:
concurrency:
group: bench-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
cargo:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: swatinem/rust-cache@v2
- run: cargo bench
codspeed:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: swatinem/rust-cache@v2
- run: cargo install --features vendored-openssl cargo-codspeed
- run: cargo codspeed build
- uses: codspeedhq/action@v3
with:
run: cargo codspeed run
token: ${{ secrets.CODSPEED_TOKEN }}
bench:
needs:
- cargo
- codspeed
if: always()
runs-on: ubuntu-latest
steps:
- run: for result in ${{ join(needs.*.result, ' ') }}; do [ $result = success ]; done
13 changes: 13 additions & 0 deletions .github/workflows/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: dependabot
on: pull_request
permissions:
contents: write
pull-requests: write
jobs:
merge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- run: gh pr merge --auto --squash ${{ github.event.pull_request.html_url }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30 changes: 30 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: lint
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: swatinem/rust-cache@v2
- run: cargo clippy -- -D warnings
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- run: cargo fmt -- --check
spell_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: streetsidesoftware/cspell-action@v7
with:
files: "**/*.{md,rs}"
readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: raviqqe/markdown-link-check@v1
23 changes: 23 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: release
on:
push:
branches:
- main
pull_request:
concurrency:
group: release-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
release:
runs-on: ubuntu-latest
environment: ${{ github.ref == 'refs/heads/main' && 'release' || '' }}
steps:
- uses: actions/checkout@v5
with:
submodules: true
- uses: raviqqe/cargo-cache@v1
- run: cargo install cargo-workspaces
- run: cargo workspaces publish -y --from-git
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
if: github.ref == 'refs/heads/main'
19 changes: 19 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: test
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: swatinem/rust-cache@v2
- run: cargo build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: swatinem/rust-cache@v2
- run: cargo test
34 changes: 33 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,41 @@
[package]
name = "array-queue"
description = "Fixed size bidirectional queues based on arrays"
version = "0.3.3"
authors = ["Yota Toyama <raviqqe@gmail.com>"]
edition = "2024"
description = "Fixed size bidirectional queues based on arrays"
license = "MIT"

[dependencies]
arrayvec = "0.4"

[lints.clippy]
alloc_instead_of_core = "deny"
complexity = "deny"
correctness = "deny"
dbg_macro = "deny"
derive_partial_eq_without_eq = "deny"
equatable_if_let = "deny"
explicit_deref_methods = "deny"
if_not_else = "deny"
manual_let_else = "deny"
missing_const_for_fn = "deny"
missing_panics_doc = "deny"
multiple_crate_versions = { level = "allow", priority = 1 }
option_if_let_else = "deny"
perf = "deny"
std_instead_of_alloc = "deny"
std_instead_of_core = "deny"
style = "deny"
suspicious = "deny"
todo = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
uninlined_format_args = "deny"
unnecessary_safety_comment = "deny"
unused_self = "deny"
use_self = "deny"

[lints.rust]
missing_docs = "deny"
warnings = "deny"
3 changes: 3 additions & 0 deletions cspell.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"words": ["arrayvec", "clippy", "uninit", "uninlined", "yota"]
}
Loading
Loading