lool » sched is a utility library that provides a way to schedule tasks in various ways. Supports std::thread and the tokio runtime (as a feature flag).




Installation

This library is for internal use. And as such, it's only published privately.

cargo add lool --registry=lugit --features sched

Sub-Features

has subfeatures  sched.tokio

Enables the tokio runtime support, replacing the default behaviour, which implies a std::thread pool to run the tasks.

has subfeatures  sched.rule-recurrent

Enables the "recurrent-rule" style for scheduling tasks.

has subfeatures  sched.rule-cron

Warning

Not yet implemented

Planned Features

  • sched.rule-cron: Enables the "cron-like" style for scheduling tasks
  • sched.rule-pyschedule: Enables the python schedule-like style for scheduling tasks

Usage

Inspiration

This library is inspired by several other libraries, including:

Otros: