anchorhash 0.2.2

A consistent hashing algorithm that outperforms state-of-the-art algorithms.
Documentation
name: CI

on: [push, pull_request]

jobs:
  test:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - uses: actions-rs/toolchain@v1
      with:
        toolchain: stable
        components: rustfmt, clippy
        override: true

    - name: fmt
      uses: actions-rs/cargo@v1
      with:
        command: fmt
        args: --all -- --check

    - name: build
      uses: actions-rs/cargo@v1
      with:
        command: build
        args: --verbose

    - name: test
      uses: actions-rs/cargo@v1
      with:
        command: test
        args: --all-features --lib --examples --tests --verbose

    - name: test (no default features)
      uses: actions-rs/cargo@v1
      with:
        command: test
        args: --no-default-features --lib --examples --tests --verbose

    - name: bench
      uses: actions-rs/cargo@v1
      with:
        command: test
        args: --benches --no-run --verbose

  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v1
      - uses: actions-rs/toolchain@v1
        with:
          toolchain: stable
          components: clippy
          override: true
      - uses: actions-rs/clippy-check@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          args: --all-features -- -D warnings