| Crates.io | libshpool |
| lib.rs | libshpool |
| version | 0.9.2 |
| created_at | 2024-02-28 22:53:20.079114+00 |
| updated_at | 2025-09-08 20:27:01.142212+00 |
| description | libshpool contains the implementation of the shpool tool, which provides a mechanism for establishing lightweight persistant shell sessions to gracefully handle network disconnects. |
| homepage | |
| repository | https://github.com/shell-pool/shpool |
| max_upload_size | |
| id | 1157049 |
| size | 338,350 |
libshpool contains the meat of the implementation for the shpool command line tool. You almost certainly don't want to be using it directly, but with it you can create a wrapper binary. It mostly exists because we want to add monitoring to an internal google version of the tool, but don't believe that telemetry belongs in an open-source tool. Other potential use-cases such as incorporating a shpool daemon into an IDE that hosts remote terminals could be imagined though.
In order to call libshpool, you must keep a few things in mind.
In spirit, you just need to call libshpool::run(libshpoo::Args::parse()),
but you need to take care of a few things manually.
version subcommand. Since libshpool is a library, the output
will not be very good if the library handles the versioning.motd crate and call motd::handle_reexec() in your main
function.