Skip to content

fix: rust: make features mutually exclusive #53

fix: rust: make features mutually exclusive

fix: rust: make features mutually exclusive #53

Workflow file for this run

name: "Rust Checks"
on:
pull_request:
paths:
- ".github/workflows/rust-checks.yml"
- "rust/**"
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: kuliya - latest
runs-on: ubuntu-latest
strategy:
matrix:
toolchain:
- stable
- beta
- nightly
steps:
- uses: actions/checkout@v4
- run: rustup update ${{ matrix.toolchain }}
- run: rustup default ${{ matrix.toolchain }}
- run: rustup component add clippy
- run: cd rust && cargo clippy -- -Dwarnings
- run: cd rust && cargo build --verbose
- run: cd rust && cargo test --verbose
- run: cd rust && cargo test --verbose --features serde_derive
- run: cd rust && cargo test --verbose --no-default-features --features storage
- run: cd rust && cargo test --verbose --all-features