| Crates.io | cdrb-taskforge |
| lib.rs | cdrb-taskforge |
| version | 0.1.0 |
| created_at | 2025-06-17 04:18:48.699609+00 |
| updated_at | 2025-06-17 04:18:48.699609+00 |
| description | A lightweight, performance-oriented task management library for individuals and small groups |
| homepage | https://www.cdrbsoftwares.com/ |
| repository | |
| max_upload_size | |
| id | 1715180 |
| size | 21,726 |
CDRB-TaskForge is a lightweight, performance-oriented task management library designed for individuals and small groups. It offers a simple API for creating, prioritizing, and monitoring tasks with a focus on efficiency and offline use.
Add this to your Cargo.toml:
[dependencies]
cdrb-taskforge = "0.1"
## Basic Usage
use cdrb_taskforge::{TaskManager, Priority};
fn main() -> Result<(), Box<dyn std::error::Error>> {
let mut manager = TaskManager::new();
// Add tasks
manager.add_task("Complete project documentation", Priority::High)?;
manager.add_task("Buy groceries", Priority::Medium)?;
// Complete a task
manager.complete_task(0)?;
// List all tasks
println!("Current tasks:");
for (i, task) in manager.tasks().iter().enumerate() {
println!("{}: {} [Priority: {:?}]", i, task.description, task.priority);
}
Ok(())
}
## About
CDRB-TaskForge is developed by [CDRB Softwares](https://www.cdrbsoftwares.com/), a software development company focused on creating efficient productivity tools.