| Crates.io | saddle |
| lib.rs | saddle |
| version | 0.1.2 |
| created_at | 2024-08-09 19:19:20.578477+00 |
| updated_at | 2025-09-15 05:16:11.348293+00 |
| description | Async seat managment made easy |
| homepage | |
| repository | https://github.com/verdiwm/saddle |
| max_upload_size | |
| id | 1331274 |
| size | 81,640 |
Saddle is an asynchronous Rust library designed to simplify the management of user seats in a Linux environment. It provides a Rust-native, future-based API for obtaining and releasing user sessions, opening and closing devices securely, and monitoring session state changes.
Currently, Saddle uses the freedesktop login1 interface as its backend, which
is compatible with both systemd-logind and elogind systems.
Future releases will include support for seatd IPC interface.
For a comprehensive example demonstrating how to use Saddle with libinput for handling input devices and implementing VT switching, see the VT switcher example.
This project is licensed under the Apache-2.0 License. For more information, please see the LICENSE file.