clang_log 2.1.2

Another log implementation
Documentation
name: Rust

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

env:
  CARGO_TERM_COLOR: always

jobs:
  clippy:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: Check Clippy
      run: cargo clippy --verbose
  fmt:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - name: Check Format
      run: cargo fmt -- --check --verbose
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        color-feature: [true, false]
    steps:
    - uses: actions/checkout@v4
    - name: Run Tests (with or without color feature)
      run: |
        if [ "${{ matrix.color-feature }}" = "true" ]; then
          cargo test --verbose
        else
          cargo test --no-default-features --verbose
        fi