Skip to content

Use const generic to embed the default value info #3

Use const generic to embed the default value info

Use const generic to embed the default value info #3

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Build all features
run: cargo build --verbose --all-features
- name: Build no_std
run: cargo build --verbose --no-default-features
- name: Run tests
run: cargo test --verbose
rustfmt:
name: Rustfmt
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- uses: actions/checkout@v3
- name: Check code format
run: cargo fmt --check