Skip to content

Add documentation on serde features #2

Add documentation on serde features

Add documentation on serde features #2

Workflow file for this run

name: Cargo Build & Test
on:
pull_request:
env:
CARGO_TERM_COLOR: always
jobs:
build_and_test:
name: Rust project - latest
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check format
run: cargo fmt --check
- name: Test code
run: cargo test --verbose
- name: Build and run exemples
run: |
cargo build --examples
cargo run --example explore_fs . "src/display.rs"
check_publication:
name: Check we can publish
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Dry Run Pubish
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
cargo publish --dry-run