Skip to content

feat: Add Desync hash detection via DesyncHash trait, opt in with #[net] attribute #1317

feat: Add Desync hash detection via DesyncHash trait, opt in with #[net] attribute

feat: Add Desync hash detection via DesyncHash trait, opt in with #[net] attribute #1317

Workflow file for this run

name: 🗒 Documentation
on:
push:
branches:
- main
pull_request:
merge_group:
jobs:
book:
name: 🔨 Build Docs
runs-on: ubuntu-latest
steps:
- name: ⬇ ️Checkout Source
uses: actions/checkout@v2
- name: 🧰 Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y -q \
libasound2-dev \
libudev-dev
- name: 📖 Install mdbook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: "0.4.22"
- uses: actions/cache@v3
name: ♻️ Cache Cargo
with:
path: |
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
web-target/
key: docs-${{ hashFiles('**/Cargo.lock') }}
restore-keys: |
docs-
- name: 🔨 Build Rustdoc
run: |
cargo doc --workspace --no-deps
rm -rf target/doc-dist
mkdir -p target/doc-dist
mv target/doc target/doc-dist/rustdoc
- name: 🚀 Deploy
uses: JamesIves/github-pages-deploy-action@4.1.3
if: ${{ github.ref == 'refs/heads/main' }}
with:
branch: gh-pages
folder: target/doc-dist