Crate skedgy

Crate skedgy 

Source
Expand description

§Skedgy - Asynchronous Task Scheduler

Skedgy is a lightweight, asynchronous task scheduler written in Rust. It allows you to schedule tasks to run at specific times, after certain delays, or based on cron expressions. Skedgy is built using tokio for asynchronous execution and is designed to be efficient and easy to use.

§Features

  • Run tasks at a specific time: Schedule tasks to run at any DateTime<Utc>.
  • Run tasks after a delay: Schedule tasks to run after a specified Duration.
  • Cron scheduling: Schedule tasks using cron expressions for recurring tasks.

§Installation

cargo add skedgy

The test suite includes tests for scheduling tasks at specific times, after delays, and with cron expressions. It also checks error handling for invalid cron expressions.

§Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue.

§License

This project is licensed under the MIT License. See the LICENSE file for details.

Structs§

Dep
DependencyStore
Skedgy
SkedgyConfig
Configuration for the Skedgy scheduler.

Enums§

SkedgyError
Errors that can occur during scheduling or running tasks with the Skedgy scheduler.

Traits§

Task

Type Aliases§

BoxFuture

Attribute Macros§

task