binance-async 0.3.0

Rust Library for the Binance API (Async)
Documentation
name: ci

on:
  pull_request:
    branches:
      - master
  push:
    branches:
      - master

jobs:
  ci:
    runs-on: ubuntu-latest
    steps:
      - name: Install build environment
        run: |
          sudo apt-get update
          sudo apt-get install -y git curl build-essential pkg-config libssl-dev libudev-dev
        env:
          DEBIAN_FRONTEND: noninteractive

      - uses: actions/checkout@v2

      - uses: actions-rs/toolchain@v1
        with:
          toolchain: 1.60.0
          components: rustfmt, clippy
          default: true

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

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

      - name: cargo clippy
        uses: actions-rs/cargo@v1
        with:
          command: clippy