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