orx-concurrent-recursive-iter 3.0.0

A concurrent iterator that can be extended recursively by each of its items.
Documentation
name: Rust

on:
  push:
    branches: [ "main" ]
  pull_request:
    branches: [ "main" ]

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: ubuntu-latest
    strategy:
      matrix:
        toolchain: ["stable"]

    steps:
    - uses: actions/checkout@v5

    - name: Install toolchain
      uses: dtolnay/rust-toolchain@stable
      with:
        toolchain: ${{ matrix.toolchain }}

    - name: Install clippy
      run: rustup component add clippy
    - name: Install 32bit target
      run: rustup target add i686-unknown-linux-musl
    - name: Install wasm target
      run: rustup target add wasm32v1-none
    - name: Install miri
      run: rustup component add --toolchain nightly-x86_64-unknown-linux-gnu miri
    - name: Install no-std-check
      run: cargo install cargo-no-std-check
      
    - name: Build
      run: cargo build --verbose
    - name: Build-32bit
      run: cargo build --verbose --target i686-unknown-linux-musl
    # wasm32v1-none is a no_std target; default features enable `std`.
    - name: Build-wasm
      run: cargo build --verbose --target wasm32v1-none --no-default-features

    - name: Test
      run: cargo test --verbose
    # `cargo test` on i686-musl pulls dev-dependencies (e.g., alloca via criterion)
    # that require a C toolchain (`musl-gcc` with `-m32`) and can fail independently
    # of this crate. Keep 32-bit coverage as a crate-level compile check.
    - name: Test-32bit
      run: cargo check --verbose --target i686-unknown-linux-musl --lib
    - name: Check-wasm
      run: cargo check --verbose --target wasm32v1-none --no-default-features

    - name: Clippy
      run: cargo clippy -- -D warnings --verbose

    # Use no-default-features for Miri/NoStd: default enables `std`, which pulls
    # crossbeam-deque/crossbeam-epoch and currently triggers an upstream Miri UB report.
    - name: Miri
      run: cargo +nightly miri test --lib --tests --no-default-features --verbose

    - name: NoStd
      run: cargo +nightly no-std-check --no-default-features