1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! taskflow-rs: A high-performance, async-first task orchestration framework for Rust
//!
//! # Overview
//!
//! taskflow-rs provides a robust framework for scheduling, executing, and managing
//! asynchronous tasks with dependency resolution, automatic retries, and pluggable
//! storage backends.
//!
//! # Key Features
//! - 🚀 **Async-first architecture** built on Tokio for maximum performance
//! - 🔄 **Automatic retry** with configurable backoff strategies
//! - 📋 **Task dependencies** for complex workflow orchestration
//! - 🧩 **Pluggable storage** supporting multiple backend implementations
//! - 📊 **Real-time monitoring** of task execution and system metrics
//! - 🛡️ **Memory safety** guaranteed by Rust's ownership model
//!
//! # Architecture
//!
//! The framework consists of several core components:
//! - **TaskFlow**: Main entry point and coordination layer
//! - **Scheduler**: Responsible for task scheduling and dependency resolution
//! - **Executor**: Handles task execution with multiple handler types
//! - **Storage**: Abstract interface for task persistence
//! - **Task**: Core data structures for task definitions and results
//!
//! # Supported Task Handlers
//! - Python script execution
//! - File operations (create, read, write, delete)
//! - HTTP requests
//! - Shell command execution
//! - Custom handlers (extensible via trait implementation)
/// Common error type for all TaskFlow operations
pub use TaskFlowError;
/// Executor component for handling task execution
pub use Executor;
/// Main TaskFlow framework entry point
pub use TaskFlow;
/// Scheduler component for task coordination
pub use Scheduler;
/// Task-related data structures and definitions
pub use ;