Windmill Rust Patterns Apply these Windmill-specific patterns when writing Rust code in . Error Handling Use from . Return or : Never panic in library code. Reserve for compile-time guarantees. SQLx Patterns Never use — always list columns explicitly. Critical for backwards compatibility when workers lag behind API version: Use batch operations to avoid N+1: Use transactions for multi-step operations. Parameterize all queries. JSON Handling Prefer over when storing/passing JSON without inspection: Only use when you need to inspect or modify the JSON. Serde Optimizations Async & Concurrency Ne…