enum-from-functions 0.3.0

A procedural macro that will create an enum with associated functions that each have a corresponding variant.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
name: CI/CD
on:
  push:
    tags: [ v* ]

jobs:
  CI:
    uses: ./.github/workflows/ci.yml

  CD:
    name: Publish to crates.io
    needs: [ CI ]
    runs-on: ubuntu-latest
    steps:
      - name: Checkout and setup
        uses: speelbarrow/checkout-and-setup@v0
      - name: Publish to crates.io
        run: cargo publish --token ${{ secrets.CRATES_TOKEN }}