Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

xtask

The xtask covers all development related tasks. It’s really nice as it allows you to define developer actions which work cross-platform. Just have Rust installed, and everything works out of the box.

Things it covers

  • compilation cargo xtask --compile --nuke-versions 15.0 --target-platform linux --use-zig
  • testing: cargo xtask --test-crates or cargo xtask --pytest
  • precommit checks cargo xtask --precomit
  • ci tasks
  • docs previewing: cargo xtask --serve-docs