Crate pueue_lib

source ·
Expand description

Pueue-lib is a shared library used by the pueue and pueued binary.

It contains common components such as:

  • Everything about the Task, TaskResult etc.
  • The State, which represents the current state of the daemon.
  • Network code. Everything you need to communicate with the daemon.
  • Other helper code and structs.

Pueue-lib is a stand-alone crate, so it can be used by third-party applications to either manipulate or monitor the daemon or to simply write your own front-end for the daemon.

Modules

Shared module for internal logic! Contains helper for command aliasing.
Pueue lib’s own Error implementation.
Helper classes to read and write log files of Pueue’s tasks.
This module contains everything that’s necessary to communicate with the pueue daemon or one of its clients.
Shared module for internal logic! Contains helper to spawn shell commands and examine and interact with processes. Subprocess handling is platform specific code.
Pueue’s configuration representation.
The main struct used to represent the daemon’s current state.
Everything regarding Pueue’s task