SCUD Core - Shared Types for SCUD Task Management
This crate provides the core data types and utilities shared between SCUD CLI and Descartes GUI applications.
Features
- Task types: [
Task], [TaskStatus], [Priority] - Phase management: [
Phase], [PhaseStats], [IdFormat] - SCG format: Token-efficient text format for task graphs
- Wave computation: Parallel execution wave calculation
- Storage: File-based task persistence with locking
Example
use ;
// Create a phase with tasks
let mut phase = new;
let task1 = new;
let mut task2 = new;
task2.dependencies = vec!;
phase.add_task;
phase.add_task;
// Find tasks ready to work on
if let Some = phase.find_next_task
// Compute parallel execution waves
let task_refs: = phase.tasks.iter.collect;
let result = compute_waves;
println!;