Tutorial
This chapter introduces the basics of using hooq across three lessons plus a wrap‑up page.
#[hooq]to capture error lines- Customize hooks with
#[hooq::method(...)] - Create / use presets via flavors
- Summary
We assume the hooq crate has already been added.
Adding hooq
Add via cargo:
cargo add hooq
Or specify the latest version in Cargo.toml (see crates.io).
Some features exist, but commonly used ones are in the default feature set. See Features.