Skip to main content

intercept_dev_command

Function intercept_dev_command 

Source
pub async fn intercept_dev_command(project_path: &Path) -> Result<()>
Expand description

Intercept dev commands (build, test, run, check) with tiered blocking:

  • Locked settings (edition/version) → ALWAYS block
  • Style violations → WARN only (unless enforce_style is true)