From f0685beaa4f5fca9de4aa3d06a482dc05159c24f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 16 Oct 2025 17:25:58 +0000 Subject: [PATCH 1/3] Update Rust crate code0-flow to 0.0.17 --- Cargo.lock | 74 ++++++++++++++++++++++++++++++++++++++++++++++-------- Cargo.toml | 2 +- 2 files changed, 64 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 64a0cc3..7e8d8b1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -103,6 +103,43 @@ dependencies = [ "url", ] +[[package]] +name = "async-nats" +version = "0.44.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f834a80c3ab6109b9c8f5ca6661a578cf31e088e831b6ce07c6b23cca04f6742" +dependencies = [ + "base64", + "bytes", + "futures-util", + "memchr", + "nkeys", + "nuid", + "once_cell", + "pin-project", + "portable-atomic", + "rand", + "regex", + "ring", + "rustls-native-certs", + "rustls-pemfile", + "rustls-webpki 0.102.8", + "serde", + "serde_json", + "serde_nanos", + "serde_repr", + "thiserror", + "time", + "tokio", + "tokio-rustls", + "tokio-stream", + "tokio-util", + "tokio-websockets", + "tracing", + "tryhard", + "url", +] + [[package]] name = "async-trait" version = "0.1.89" @@ -176,7 +213,7 @@ name = "base" version = "0.0.0" dependencies = [ "anyhow", - "async-nats", + "async-nats 0.42.0", "async-trait", "code0-flow", "futures-lite", @@ -185,7 +222,7 @@ dependencies = [ "tokio", "tonic", "tonic-health", - "tucana", + "tucana 0.0.33", "uuid", ] @@ -248,22 +285,22 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "code0-definition-reader" -version = "0.0.10" +version = "0.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac33bc751c706a7e306931082019aa954c17ae18c31d685fd545bf73716d5c8e" +checksum = "5c7b9d030a57501b5c6bcbd667c5241a69335421008b155b55145b4e66e9a325" dependencies = [ "serde", "serde_json", - "tucana", + "tucana 0.0.36", ] [[package]] name = "code0-flow" -version = "0.0.16" +version = "0.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad60b7f304a4fc9793f2e70dc6ae9ccf8efb4df957dc97eb586722eeb3e6471" +checksum = "568d497f7aa8cd0cb4e633e8f6e97330b3bbb8b49fcb7c2bdca703a4a9c870e8" dependencies = [ - "async-nats", + "async-nats 0.44.2", "async-trait", "code0-definition-reader", "dotenv", @@ -273,7 +310,7 @@ dependencies = [ "serde_json", "tonic", "tonic-health", - "tucana", + "tucana 0.0.36", ] [[package]] @@ -653,7 +690,7 @@ dependencies = [ "log", "serde_json", "tokio", - "tucana", + "tucana 0.0.33", ] [[package]] @@ -1344,7 +1381,7 @@ dependencies = [ "serde_json", "tokio", "tonic", - "tucana", + "tucana 0.0.33", ] [[package]] @@ -2023,6 +2060,21 @@ dependencies = [ "tonic-prost-build", ] +[[package]] +name = "tucana" +version = "0.0.36" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0addd0c58b8b458ba668404246c428d4c71382f5a83d29ac69649f5c575bdfc4" +dependencies = [ + "prost", + "prost-types", + "serde", + "serde_json", + "tonic", + "tonic-prost", + "tonic-prost-build", +] + [[package]] name = "typenum" version = "1.18.0" diff --git a/Cargo.toml b/Cargo.toml index 805dd81..9cd2ec4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ version = "0.0.0" edition = "2024" [workspace.dependencies] -code0-flow = { version = "0.0.16" } +code0-flow = { version = "0.0.17" } tucana = { version = "0.0.33", features = ["aquila"] } serde_json = { version = "1.0.138" } log = "0.4.27" From 9a069c61a926dc7b8042f4b853c8340d12fe361e Mon Sep 17 00:00:00 2001 From: raphael-goetz Date: Thu, 16 Oct 2025 19:44:07 +0200 Subject: [PATCH 2/3] dependencies: updated tucana and async-nats --- Cargo.lock | 83 +++++------------------------------------------------- Cargo.toml | 4 +-- 2 files changed, 9 insertions(+), 78 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7e8d8b1..5252731 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -67,42 +67,6 @@ version = "1.0.100" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a23eb6b1614318a8071c9b2521f36b424b2c83db5eb3a0fead4a6c0809af6e61" -[[package]] -name = "async-nats" -version = "0.42.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "08f6da6d49a956424ca4e28fe93656f790d748b469eaccbc7488fec545315180" -dependencies = [ - "base64", - "bytes", - "futures", - "memchr", - "nkeys", - "nuid", - "once_cell", - "pin-project", - "portable-atomic", - "rand", - "regex", - "ring", - "rustls-native-certs", - "rustls-pemfile", - "rustls-webpki 0.102.8", - "serde", - "serde_json", - "serde_nanos", - "serde_repr", - "thiserror", - "time", - "tokio", - "tokio-rustls", - "tokio-util", - "tokio-websockets", - "tracing", - "tryhard", - "url", -] - [[package]] name = "async-nats" version = "0.44.2" @@ -213,7 +177,7 @@ name = "base" version = "0.0.0" dependencies = [ "anyhow", - "async-nats 0.42.0", + "async-nats", "async-trait", "code0-flow", "futures-lite", @@ -222,7 +186,7 @@ dependencies = [ "tokio", "tonic", "tonic-health", - "tucana 0.0.33", + "tucana", "uuid", ] @@ -291,7 +255,7 @@ checksum = "5c7b9d030a57501b5c6bcbd667c5241a69335421008b155b55145b4e66e9a325" dependencies = [ "serde", "serde_json", - "tucana 0.0.36", + "tucana", ] [[package]] @@ -300,7 +264,7 @@ version = "0.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "568d497f7aa8cd0cb4e633e8f6e97330b3bbb8b49fcb7c2bdca703a4a9c870e8" dependencies = [ - "async-nats 0.44.2", + "async-nats", "async-trait", "code0-definition-reader", "dotenv", @@ -310,7 +274,7 @@ dependencies = [ "serde_json", "tonic", "tonic-health", - "tucana 0.0.36", + "tucana", ] [[package]] @@ -540,20 +504,6 @@ dependencies = [ "percent-encoding", ] -[[package]] -name = "futures" -version = "0.3.31" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65bc07b1a8bc7c85c5f2e110c476c7389b4554ba72af57d8445ea63a576b0876" -dependencies = [ - "futures-channel", - "futures-core", - "futures-io", - "futures-sink", - "futures-task", - "futures-util", -] - [[package]] name = "futures-channel" version = "0.3.31" @@ -561,7 +511,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2dff15bf788c671c1934e366d07e30c1814a8ef514e1af724a602e8a2fbe1b10" dependencies = [ "futures-core", - "futures-sink", ] [[package]] @@ -607,12 +556,9 @@ version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9fa08315bb612088cc391249efdc3bc77536f16c91f6cf495e6fbe85b20a4a81" dependencies = [ - "futures-channel", "futures-core", - "futures-io", "futures-sink", "futures-task", - "memchr", "pin-project-lite", "pin-utils", "slab", @@ -690,7 +636,7 @@ dependencies = [ "log", "serde_json", "tokio", - "tucana 0.0.33", + "tucana", ] [[package]] @@ -1381,7 +1327,7 @@ dependencies = [ "serde_json", "tokio", "tonic", - "tucana 0.0.33", + "tucana", ] [[package]] @@ -2045,21 +1991,6 @@ dependencies = [ "tokio", ] -[[package]] -name = "tucana" -version = "0.0.33" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "811247bdfb777b65329d9f8e8ff9e2d405261ef626e149997f4fca57bfe106d4" -dependencies = [ - "prost", - "prost-types", - "serde", - "serde_json", - "tonic", - "tonic-prost", - "tonic-prost-build", -] - [[package]] name = "tucana" version = "0.0.36" diff --git a/Cargo.toml b/Cargo.toml index 9cd2ec4..613e398 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ edition = "2024" [workspace.dependencies] code0-flow = { version = "0.0.17" } -tucana = { version = "0.0.33", features = ["aquila"] } +tucana = { version = "0.0.36", features = ["aquila"] } serde_json = { version = "1.0.138" } log = "0.4.27" env_logger = "0.11.8" @@ -16,7 +16,7 @@ regex = "1.11.1" tokio = { version = "1.44.1", features = ["rt-multi-thread"] } uuid = { version = "1.16.0", features = ["v4"] } tonic = "0.14.0" -async-nats = "0.42.0" +async-nats = "0.44.2" async-trait = "0.1.88" anyhow = "1.0.98" prost = "0.14.0" From 5dbd8c8293922abf7f5dae42c97649cdfdb46949 Mon Sep 17 00:00:00 2001 From: raphael-goetz Date: Thu, 16 Oct 2025 19:44:22 +0200 Subject: [PATCH 3/3] feat: adjustments to latest tucana version --- crates/base/src/store.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/base/src/store.rs b/crates/base/src/store.rs index 8b0e941..872e440 100644 --- a/crates/base/src/store.rs +++ b/crates/base/src/store.rs @@ -148,8 +148,9 @@ impl AdapterStore { fn convert_validation_flow(flow: ValidationFlow, input_value: Option) -> ExecutionFlow { ExecutionFlow { flow_id: flow.flow_id, - starting_node: flow.starting_node, + starting_node_id: flow.starting_node_id, input_value, + node_functions: flow.node_functions, } }