Crates.io | tasker |
lib.rs | tasker |
version | 0.3.1 |
source | src |
created_at | 2019-04-25 16:59:27.422581 |
updated_at | 2023-05-28 08:38:26.343064 |
description | A simple crate for time based tasks |
homepage | https://github.com/DanielMadmon/tasker |
repository | https://github.com/DanielMadmon/tasker |
max_upload_size | |
id | 130178 |
size | 123,098 |
A Simple crate which provides a service and a configuration API for genrating commands based tasks ,on time basis.
Install my-project with cargo
cargo add tasker
or add manually to your Cargo.toml file
use tasker::tasker_service::main_service;
fn main(){
main_service();
}
use tasker::tasker_service::main_service;
fn main(){
use tasker::taskerctl::{Task, add_task};
let mut task = Task::new(); //create new instance of Task DataType.
task.name = Some("daily thing".to_string); //add the values you need
.....
add_task(task);
}
currently the crate is in development stage and is very likely to get updates on daily basis, until we reach stability.