Skip to main content

Crate reis

Crate reis 

Source
Expand description

Reis 🍚 provides a Rust version of EI 🥚 and EIS 🍨 for emulated input on Wayland.

See the upstream project libei for more information.

This library is currently incomplete and subject to change. It should probably do more to provide a more high level API that handles the things a client/server needs to deal with.

Setting the env var REIS_DEBUG will make the library print ei messages it sends and receives.

§Features

reis has the following Cargo features:

  • tokio: Enables tokio support for clients.
  • calloop: Enables calloop sources for EIS implementations. Somewhat experimental and incomplete.

Re-exports§

pub use enumflags2;

Modules§

async_ioasync-io
Module containing async_io event streams.
calloopcalloop
Module containing calloop sources.
ei
EI client implementation.
eis
EI server (EIS) implementation.
event
High-level client-side wrappers for common objects and their events.
handshake
Module implementing the EI protocol handshake.
request
High-level server-side wrappers for common objects and their requests.
tokiotokio
Module containing tokio event streams.

Structs§

Object
Representation of an object.

Enums§

Error
An error coming from the reis crate
ParseError
Wire format parse error.
PendingRequestResult
Pending message result.

Traits§

Interface
Trait for interface proxies