smolheed 0.1.0

A thin wrapped on top of LMDB with minimum overhead
Documentation
---
on: [pull_request]

name: Cargo test
jobs:
  check_lmdb:
    name: Test the heed project with LMDB
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
        include:
          - os: ubuntu-latest
            artifact_name: meilidb-http
            asset_name: meilidb-http-linux-amd64
          - os: windows-latest
            artifact_name: meilidb-http.exe
            asset_name: meilidb-http-windows-amd64
          - os: macos-latest
            artifact_name: meilidb-http-macos-amd64
            asset_name: meilidb-http-macos-amd64

    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
      - name: Run cargo test
        run: |
          cd heed
          cargo clean
          cargo test --features 'lmdb serde-json' --no-default-features

  check_mdbx:
    name: Test the heed project with MDBX
    runs-on: ${{ matrix.os }}
    strategy:
      matrix:
        os: [ubuntu-latest, windows-latest, macos-latest]
        include:
          - os: ubuntu-latest
            artifact_name: meilidb-http
            asset_name: meilidb-http-linux-amd64
          - os: windows-latest
            artifact_name: meilidb-http.exe
            asset_name: meilidb-http-windows-amd64
          - os: macos-latest
            artifact_name: meilidb-http-macos-amd64
            asset_name: meilidb-http-macos-amd64

    steps:
      - uses: actions/checkout@v2
      - uses: actions-rs/toolchain@v1
        with:
          profile: minimal
          toolchain: stable
          override: true
      - name: Run cargo test
        run: |
          cd heed
          cargo clean
          cargo test --features 'mdbx serde-json' --no-default-features