Skip to main content

glycin_utils/
lib.rs

1//! Utilities for building glycin decoders
2
3#[cfg(all(not(feature = "async-io"), not(feature = "tokio")))]
4mod error_message {
5    compile_error!(
6        "\"async-io\" (default) or \"tokio\" must be enabled to provide an async runtime for zbus."
7    );
8}
9
10mod dbus_editor_api;
11mod dbus_loader_api;
12mod dbus_types;
13pub mod editing;
14pub mod error;
15#[cfg(feature = "image-rs")]
16pub mod image_rs;
17mod img_buf;
18#[cfg(feature = "loader-utils")]
19pub mod instruction_handler;
20pub mod safe_math;
21
22#[cfg(feature = "loader-utils")]
23#[doc(no_inline)]
24pub use std::os::unix::net::UnixStream;
25
26pub use dbus_editor_api::*;
27pub use dbus_loader_api::*;
28pub use dbus_types::*;
29pub use error::*;
30pub use glycin_common::shared_memory::SharedMemory;
31pub use glycin_common::{
32    BinaryData, ExtendedMemoryFormat, MemoryFormat, MemoryFormatInfo, MemoryFormatSelection,
33    Operation, Operations,
34};
35pub use img_buf::ImgBuf;
36#[cfg(feature = "loader-utils")]
37pub use instruction_handler::*;