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