distributed 4.0.1

CQRS/ES framework for Rust using Plain Old Rust Structs — append-only events, replay, snapshots, outbox, service bus, and pluggable infrastructure
Documentation
name: Rust Coverage

on:
  push:
    branches: [ "main" ]

env:
  CARGO_TERM_COLOR: always

jobs:
  coverage:

    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v7
    - uses: dtolnay/rust-toolchain@stable
      with:
        components: llvm-tools-preview
    - uses: taiki-e/install-action@cargo-llvm-cov
    # --all-features compiles rdkafka; librdkafka's bundled cmake build needs
    # curl/curl.h (the runner has libcurl's runtime but not its headers).
    - name: Install librdkafka build dependencies
      run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
    - name: Generate coverage report
      run: cargo llvm-cov --all-features --verbose --lcov --output-path lcov.info
    - name: Upload coverage artifact
      uses: actions/upload-artifact@v7
      with:
        name: coverage-lcov
        path: lcov.info
    - name: Upload to Codecov (optional)
      uses: codecov/codecov-action@v7
      with:
        files: lcov.info
        fail_ci_if_error: false