greetd_ipc 0.5.1

An implementation of the greetd IPC protocol
Documentation

greetd IPC protocol library

This library implements the greetd IPC protocol.

The library exposes a Request and a Response enum, representing the valid protocol messages, without the length marker.length

Additional types are part of the different request and response values.

See agreety for a simple example use of this library.

Format

The message format is as follows:

+----------+-------------------+
| len: u32 | JSON payload: str |
+----------+-------------------+

Length is in native byte-order.

Request and response types

See Request and Response for information about the request and response types, as well as their serialization.