Skip to content

Add Hooks::before_routes to give user control over initial axum::Router construction #189

Add Hooks::before_routes to give user control over initial axum::Router construction

Add Hooks::before_routes to give user control over initial axum::Router construction #189

Workflow file for this run

name: docs
on:
push:
branches:
- master
pull_request:
env:
RUST_TOOLCHAIN: stable
TOOLCHAIN_PROFILE: minimal
jobs:
check:
name: Check
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout the code
uses: actions/checkout@v4
- uses: actions-rs/toolchain@v1
with:
profile: ${{ env.TOOLCHAIN_PROFILE }}
toolchain: ${{ env.RUST_TOOLCHAIN }}
override: true
components: rustfmt
- run: cargo install snipdoc --features exec
- run: snipdoc check
env:
SNIPDOC_SKIP_EXEC_COMMANDS: true