2024-04-11 00:35:31 -03:00
..
2024-04-11 00:35:31 -03:00
2024-04-07 23:39:03 -03:00
2024-04-10 03:03:29 -03:00
2024-04-10 03:03:29 -03:00
2024-04-11 00:35:31 -03:00
2024-04-11 00:35:31 -03:00




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-feature}

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.

Warning

Not yet implemented

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

Inspiration

This library is inspired by several other libraries, including:

Other useful libraries that might come in handy for this project during development are: