multra 1.0.0

An async parser for `multipart/form-data` content-type in Rust.
Documentation
name: CI

on:
  pull_request:
  push:
    branches:
      - main
      - master
  workflow_dispatch:

permissions:
  contents: read

env:
  RUSTFLAGS: -Dwarnings

jobs:
  build_and_test:
    name: Build and test
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v4

    - name: Install stable
      uses: dtolnay/rust-toolchain@stable
      with:
        toolchain: stable

    - name: check
      run: cargo check --all --bins --examples --all-features

    - name: tests
      run: cargo test --all --all-features

  check_fuzz_target:
    name: Check fuzz target
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v4

    - name: Install stable
      uses: dtolnay/rust-toolchain@stable
      with:
        toolchain: stable

    - name: check fuzz target
      run: cargo check --manifest-path fuzz/Cargo.toml

  check_fmt_and_docs:
    name: Checking fmt, clippy, and docs
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4

    - name: Install stable with components
      uses: dtolnay/rust-toolchain@stable
      with:
        toolchain: stable
        components: clippy,rustfmt

    - name: clippy
      run: cargo clippy --tests --examples --bins -- -D warnings

    - name: fmt
      run: cargo fmt --all -- --check

    - name: Docs
      run: cargo doc --all-features --no-deps