rgp 0.5.2

Enabling E2EE for a range of applications.
Documentation
name: CI

on:
  push:
    branches: ["main"]
    paths:
      - benches/**
      - examples/**
      - src/**
  pull_request:
    branches: ["main"]
    paths:
      - benches/**
      - examples/**
      - src/**

env:
  CARGO_TERM_COLOR: always

jobs:
  mutli-threaded:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - name: Build
      run: cargo build --verbose
    - name: Test
      run: RUST_MIN_STACK=8388608 cargo test --verbose
    - name: Benchmark
      run: cargo bench --verbose
      
  single-threaded:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3
    - name: Build
      run: cargo build --no-default-features --verbose
    - name: Test
      run: RUST_MIN_STACK=8388608 cargo test --no-default-features --verbose
    - name: Benchmark
      run: cargo bench --no-default-features --verbose

concurrency:
  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}