Skip to content

Commit e7727df

Browse files
Merge pull request #149 from code0-tech/#147-new-module-structure
new module structure
2 parents 8c849bb + 8dbe267 commit e7727df

5 files changed

Lines changed: 353 additions & 379 deletions

File tree

Cargo.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ homepage = "https://code0.tech"
88
license = "Apache-2.0"
99

1010
[dependencies]
11-
tucana = { version = "0.0.68", features = ["aquila"] }
11+
tucana = { version = "0.0.69", features = ["aquila"] }
1212
async-trait = "0.1.85"
1313
log = "0.4.24"
1414
tonic = "0.14.1"

src/flow_definition/feature/version.rs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
use tucana::shared::{DefinitionDataType, FlowType, FunctionDefinition, RuntimeFunctionDefinition};
1+
use tucana::shared::{
2+
DefinitionDataType, FlowType, FunctionDefinition, RuntimeFlowType, RuntimeFunctionDefinition,
3+
};
24

35
pub trait HasVersion {
46
fn version(&self) -> &String;
@@ -25,6 +27,13 @@ impl HasVersion for FunctionDefinition {
2527
&self.version
2628
}
2729
}
30+
31+
impl HasVersion for RuntimeFlowType {
32+
fn version(&self) -> &String {
33+
&self.version
34+
}
35+
}
36+
2837
impl HasVersion for RuntimeFunctionDefinition {
2938
fn version(&self) -> &String {
3039
&self.version

0 commit comments

Comments
 (0)