Skip to content

Use one weird trick to reduce the size of your crate by 100+ MB #44

Use one weird trick to reduce the size of your crate by 100+ MB

Use one weird trick to reduce the size of your crate by 100+ MB #44

Workflow file for this run

name: ci
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
rustfmt:
runs-on: ubuntu-22.04
steps:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: rustfmt
- uses: actions/checkout@v3
- run: cargo fmt -- --check
clippy:
runs-on: ubuntu-22.04
steps:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
components: clippy
- uses: actions/checkout@v3
- run: cargo +nightly clippy -- --deny warnings
ci:
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
include:
- toolchain: stable
- toolchain: beta
- toolchain: nightly
- toolchain: 1.57.0 # MSRV
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain }}
- run: cargo test