type-layout 0.2.0

Derivable trait to view the layout of a struct, useful for debugging.
Documentation
name: CI

on:
  push:
    branches:
    - main

  pull_request:
    branches:
    - main

jobs:
  build:

    runs-on: ubuntu-latest

    strategy:
      matrix:
        rust_version: [stable, "1.34.1"]

    steps:
    - uses: actions/checkout@v2

    - name: Setup Rust toolchain
      run: rustup default ${{ matrix.rust_version }}

    - name: Build
      run: cargo build --verbose

    - name: Run tests
      run: cargo test --verbose

    - name: Rustfmt and Clippy
      run: |

        cargo fmt -- --check
        cargo clippy --all-features
      if: matrix.rust_version == 'stable'