Skip to content

Commit 92af8c5

Browse files
committed
[feat] outsourcing Feature struct
1 parent 08e4ceb commit 92af8c5

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
use serde::Deserialize;
2+
use tucana::shared::{DefinitionDataType, FlowType, RuntimeFunctionDefinition};
3+
4+
#[derive(Deserialize, Debug, Clone)]
5+
pub struct Feature {
6+
pub name: String,
7+
pub data_types: Vec<DefinitionDataType>,
8+
pub flow_types: Vec<FlowType>,
9+
pub functions: Vec<RuntimeFunctionDefinition>,
10+
}

crates/package/src/struct/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pub mod feature;

0 commit comments

Comments
 (0)