Skip to content

Avoid lint for unused import by only importing when used (#147) #466

Avoid lint for unused import by only importing when used (#147)

Avoid lint for unused import by only importing when used (#147) #466

Workflow file for this run

name: Rust
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-15]
rust: [stable]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Build without std
run: cargo build --no-default-features
- name: Build with std
run: cargo build
- name: Run tests
run: cargo test --verbose