self_encryption 0.35.0

Self encrypting files (convergent encryption plus obfuscation)
Documentation
name: Benchmarking

on: [pull_request, push]

env:
  RUST_BACKTRACE: 1
  RUSTFLAGS: "-D warnings"


jobs:
  bench:
    name: Benchmarking
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true

      - name: Generate Cargo.lock
        run: cargo generate-lockfile

      - uses: actions/cache@v4
        with:
          path: |
            ~/.cargo/bin/
            ~/.cargo/registry/index/
            ~/.cargo/registry/cache/
            ~/.cargo/git/db/
            target/
          key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}

      - name: Cargo build
        if: steps.${{ runner.os }}-cargo-build-target-${{ hashFiles('**/Cargo.lock') }}.outputs.cache-hit != 'true'
        run: cargo build --release
      
      - name: Cargo bench
        run: cargo bench