dias 0.2.0

Minimal cross-platform support for common platform specific things, intended for small games for web plus desktopy platforms.
Documentation
name: Rust

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

env:
  CARGO_TERM_COLOR: always

jobs:
  build:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - uses: jetli/wasm-pack-action@v0.4.0
      with:
        version: 'latest'
    - name: Format
      run: cargo fmt --all --check
    - name: Build
      run: cargo build --verbose
    - name: Run tests for standard
      run: cargo test --verbose
    - name: Run tests for web
      run: wasm-pack test --node