srgb 0.3.5

sRGB primitives and constants — lightweight crate with functions and constants needed when manipulating sRGB colours
Documentation
---
name: PR Checks
on:
  pull_request:
    branches:
      - '*'
  push:
    branches:
      - master

jobs:
  misc:
    name: Checks
    runs-on: ubuntu-latest
    steps:
      - name: Checkout code
        uses: actions/checkout@v3

      - name: Install Rust
        id: install-rust
        uses: dtolnay/rust-toolchain@master
        with:
          toolchain: nightly
          components: clippy, rustfmt, miri

      - name: Check formatting
        run: cargo fmt --all --check

      - name: Check Clippy
        uses: actions-rs/clippy-check@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          args: --all-features -- -D warnings

      - name: Run tests (all features)
        run: cargo test --all-features -- -Z unstable-options --report-time

      - name: Miri tests
        run: cargo miri test --all-features -- -Z unstable-options --report-time