message_worker 0.6.0

Message Worker is a low-ish level library for Rust for the creation of event-listeners using futures and streams. Notably MW supports non-sync and non-send (i.e. non-thread-safe) contexts within listeners.
Documentation
name: Create Release + Publish

on:
  push:
    branches:
    - main

env:
  CARGO_TERM_COLOR: always

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Run tests
      run: cargo test --verbose
    - name: Check Release Version
      id: version_check_staging
      uses: thebongy/version-check@v1
      with:
        file: Cargo.toml
        tagFormat: v${version}
    - name: Create Release
      id: create_release
      uses: actions/create-release@v1
      env:
        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
      with:
        tag_name: ${{ steps.version_check_staging.outputs.releaseVersion }}
        release_name: ${{ steps.version_check_staging.outputs.releaseVersion }}
        draft: false
        prerelease: false
    - name: Publish to crates.io
      run: |
          cargo login ${{ secrets.CRATES_IO_TOKEN }}
          cargo publish