Skip to content

introduce new features and improve their documentation #944

introduce new features and improve their documentation

introduce new features and improve their documentation #944

Workflow file for this run

name: rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
RUST_BACKTRACE: 1
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
components: rustfmt, clippy
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libudev-dev
- name: Build (Default)
run: cargo build
- name: Build (All features)
run: cargo build --all-features
- name: Test (Default)
run: cargo test --features tests -- --nocapture
- name: Test (All features)
run: cargo test --all-features -- --nocapture
- name: Coding style
run: cargo fmt --all -- --check