Skip to content

derive default instead of impl by hand #75

derive default instead of impl by hand

derive default instead of impl by hand #75

Workflow file for this run

name: Rust
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust Stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
- name: Build
run: cargo build --verbose
- name: Run tests
run: cargo test --verbose
- name: Check rust formatting
run: cargo fmt --all --check
- name: Clippy
run: cargo clippy --all-features -- -D warnings
- name: Documentation
run: cargo doc