mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-08-23 08:00:45 +00:00
7fb394ad65
Reduce default build from 761 to 609 crates (20% reduction) by making heavy dependencies optional behind their appropriate feature flags. Feature-gated deps: - windmill-worker: hudsucker, rcgen, prost, opentelemetry-proto (EE otel proxy) - windmill-common: aws-config, aws-credential-types, aws-smithy-types, systemstat, globset - windmill-api: aws-sigv4, aws-sdk-config, windmill-parser-py-imports, windmill-autoscaling - windmill-autoscaling: kube, k8s-openapi (EE only) - windmill-parser-py-imports: removed unused malachite deps - Root: removed 12 unused direct dependencies Incremental compilation with additional local optimizations (mold linker, split-debuginfo, line-tables-only) brings windmill-api rebuilds from ~5.6s to ~4.7s (16% faster). Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Windmill Backend
This folder holds all backend components, the src/ folder only contains files used to build the "root" binary.
Components
| name | description |
|---|---|
| windmill-api | The API server, exposing functionality to other components and the frontend |
| windmill-audit | Contains audit functionality, allowing different components to record important actions |
| windmill-common | Common code shared by all crates |
| windmill-queue | Contains job & flow queuing functionality, commonly written to by the API server and read from by workers |
| windmill-worker | The worker. Used to process and execute flows & jobs. |
| parsers | Contains code to parse signatures in different langauges. |
Compile sqlx for offline ci
cargo sqlx prepare --workspace -- --bin windmill --features enterprise