barcodes 0.2.0

Universal Bar/QR codes library
Documentation
name: ci

on:
  push:
    branches: [main]
  pull_request:

env:
  CARGO_TERM_COLOR: always

jobs:
  rust:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v5

      - uses: dtolnay/rust-toolchain@stable
        with:
          components: rustfmt, clippy

      - uses: Swatinem/rust-cache@v2

      - name: Format
        run: cargo fmt --all --check

      - name: Clippy (all features)
        run: cargo clippy --all-targets --all-features -- -D warnings

      - name: Clippy (no_std, no alloc)
        run: cargo clippy --all-targets --no-default-features -- -D warnings

      - name: Build (no_std, no alloc — proves zero heap)
        run: cargo build --no-default-features

      - name: Test (all features)
        run: cargo test --all-features

      - name: Test (no_std, no alloc)
        run: cargo test --no-default-features