Skip to content

made it more clear when a feature flag is necessary #75

made it more clear when a feature flag is necessary

made it more clear when a feature flag is necessary #75

Workflow file for this run

name: Build
on: [push, pull_request]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: actions/checkout@v4
- name: Build with default feature
run: cargo build --workspace
- name: Build with all features
run: cargo build --workspace --all-features
- name: Build without any feature
run: cargo build --workspace --no-default-features
- name: Build only with Postgres
run: cargo build --workspace --no-default-features -F postgres
- name: Build only with Sqlite
run: cargo build --workspace --no-default-features -F sqlite
- name: Build only with MySql
run: cargo build --workspace --no-default-features -F mysql
- name: Build only with Axum
run: cargo build --workspace --no-default-features -F axum