feat: 重构项目结构并添加核心功能
refactor: 将代码按功能模块重新组织到 core/runtime/control 等目录 feat(core): 添加 Context、FlowNode 等核心 trait 和类型 feat(runtime): 实现 FlowEngine 和状态管理 feat(control): 添加顺序/并行/条件控制流节点 feat(nodes): 实现 HTTP/DB/MQ 等业务节点 docs: 更新 README 添加架构说明和快速开始示例 test: 添加性能测试脚本和示例代码
This commit is contained in:
14
dsl-flow/src/core/mod.rs
Normal file
14
dsl-flow/src/core/mod.rs
Normal file
@ -0,0 +1,14 @@
|
||||
pub mod context;
|
||||
pub mod types;
|
||||
pub mod error;
|
||||
pub mod traits;
|
||||
pub mod executor;
|
||||
|
||||
pub mod node;
|
||||
|
||||
pub use context::{Context, LineageEntry};
|
||||
pub use types::{NodeId, NodeOutput};
|
||||
pub use error::{NodeError, ExprError};
|
||||
pub use traits::{FlowNode, ExprEngine};
|
||||
pub use executor::TaskExecutor;
|
||||
pub use node::Node;
|
||||
Reference in New Issue
Block a user