Crate luthien_plugin[][src]

Expand description

Luthien Plugins in Rust

luthien-plugin is a Rust library for writing Luthien plugins in Rust. It is not to be confused with luthien itself.

Input Deserialization

luthien-plugin provides plugin input data structures which can be deserialized with Serde, as well as a utility function to get the input from stdin.

Luthien IO

Luthien provides a named pipe which copies to and from its stdout and stdin respectively. luthien-plugin can automatically get this pipe for you.

Re-exports

pub use theme::Colors;
pub use theme::Palette;
pub use theme::Theme;
pub use serde_json;

Modules

io

Luthien Plugin IO

palette
theme

Structs

Directories

The directories in which the plugin should store and output data.

Input

All data passed to the plugin.

Functions

get_input

Get the plugin’s input or None if it couldn’t be deserialized.