39 releases

Uses new Rust 2024

new 0.29.0 Mar 9, 2025
0.27.0 Dec 1, 2024
0.26.1 Jun 4, 2024
0.26.0 Mar 22, 2024
0.12.2 Mar 30, 2021

#1116 in Network programming

Download history 57/week @ 2024-11-21 185/week @ 2024-11-28 84/week @ 2024-12-05 125/week @ 2024-12-12 25/week @ 2024-12-19 15/week @ 2024-12-26 20/week @ 2025-01-02 28/week @ 2025-01-09 16/week @ 2025-01-16 24/week @ 2025-01-23 57/week @ 2025-01-30 188/week @ 2025-02-06 196/week @ 2025-02-13 49/week @ 2025-02-20 61/week @ 2025-02-27 256/week @ 2025-03-06

606 downloads per month
Used in pueue

MIT/Apache

110KB
2K SLoC

Pueue-lib

Test Build Crates.io docs License: MIT

This is the shared library used by the Pueue client and daemon.

It contains everything you need to communicate with the daemon:

  • The [State], which represents the current state of the daemon as exposed to clients.
  • The [Task], [TaskResult] and [TaskStatus]
  • The [Settings] used by both clients and the daemon.
  • Network code. Everything you need to communicate with the daemon.
  • A reference Client implementation. This is available with the client feature. The client also implements Client::send_request and Client::receive_response.

It also contains helper functions to read local logs.

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.

Dependencies

~17–28MB
~488K SLoC