* Add rust on frontend * Add parser for rust * Handle rust job execution * Main has to return a result that is serializable * Update parser: parse many rust types * Rust parser dependencies * Frontend wasm parser * Add windmill parser rust to windmill parser wasm (temporarily) * Add rust as a tag on worker__default * Change init code for rust * Cleanup rust_executor.rs * Remove tree-sitter dep and fix unused imports * Add lockfile and build logic * Add cargo and rustup to windmill image * Fix env var to work on docker image and dev env * modify package.json * Deps after parser publish * Add stashed migration * Unify rust versions * Add error message when php or cargo are not present to use another image * Error message conditionally on feature flag * all ci/cd changes * all ci/cd changes --------- Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com>
4 lines
414 B
SQL
4 lines
414 B
SQL
-- Add up migration script here
|
|
ALTER TYPE SCRIPT_LANG ADD VALUE IF NOT EXISTS 'rust';
|
|
UPDATE config set config = jsonb_set(config, '{worker_tags}', config->'worker_tags' || '["rust"]'::jsonb) where name = 'worker__default' and config @> '{"worker_tags": ["deno", "python3", "go", "bash", "powershell", "dependency", "flow", "hub", "other", "bun", "php"]}'::jsonb AND NOT config->'worker_tags' @> '"rust"'::jsonb;
|