From 2b40407d21b1f559e2ef7724f213f63ff8baee86 Mon Sep 17 00:00:00 2001 From: haixuanTao Date: Thu, 9 Mar 2023 17:35:56 +0100 Subject: [PATCH] Split rust operators into single operator We currently have a legacy limitation to only allow one operator per runtime and it would be better to bake that into the template for now. --- binaries/cli/src/template/rust/dataflow-template.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/binaries/cli/src/template/rust/dataflow-template.yml b/binaries/cli/src/template/rust/dataflow-template.yml index 7d0e208a..2078d983 100644 --- a/binaries/cli/src/template/rust/dataflow-template.yml +++ b/binaries/cli/src/template/rust/dataflow-template.yml @@ -3,16 +3,16 @@ communication: prefix: /___name___ nodes: - - id: runtime-node_1 - operators: - - id: op_1 + - id: op_1 + operator: build: cargo build -p op_1 shared-library: target/debug/op_1 inputs: tick: dora/timer/millis/100 outputs: - some-output - - id: op_2 + - id: op_2 + operator: build: cargo build -p op_2 shared-library: target/debug/op_2 inputs: