1#![allow(clippy::unusual_byte_groupings)]
2#![deny(rust_2018_idioms)]
3#![doc(
4 html_logo_url = "https://raw.githubusercontent.com/z-galaxy/zbus/9f7a90d2b594ddc48b7a5f39fda5e00cd56a7dfb/logo.png"
5)]
6#![doc = include_str!("../README.md")]
7#![doc(test(attr(
8 warn(unused),
9 deny(warnings),
10 allow(dead_code),
11 allow(unused_extern_crates),
13)))]
14#![cfg_attr(test, recursion_limit = "256")]
15
16#[macro_use]
17mod utils;
18pub use utils::*;
19
20mod array;
21pub use array::*;
22
23mod basic;
24pub use basic::*;
25
26mod dict;
27pub use dict::*;
28
29pub mod serialized;
30
31#[cfg(unix)]
32mod fd;
33#[cfg(unix)]
34pub use fd::*;
35
36mod object_path;
37pub use crate::object_path::*;
38
39mod file_path;
40pub use crate::file_path::*;
41
42mod ser;
43pub use ser::*;
44
45mod de;
46
47pub mod dbus;
48#[cfg(feature = "gvariant")]
49#[deprecated(
50 since = "5.15.0",
51 note = "GVariant support is deprecated and will be removed in zvariant 6.0. Use the \
52 `zgvariant` crate instead."
53)]
54pub mod gvariant;
55
56pub mod signature;
57pub use signature::Signature;
58
59mod str;
60pub use crate::str::*;
61
62mod structure;
63pub use crate::structure::*;
64
65#[cfg(feature = "gvariant")]
66mod maybe;
67#[cfg(feature = "gvariant")]
68#[allow(deprecated)]
69pub use crate::maybe::*;
70
71mod optional;
72pub use crate::optional::*;
73
74mod value;
75pub use value::*;
76
77mod error;
78pub use error::*;
79
80#[macro_use]
81mod r#type;
82pub use r#type::*;
83
84mod tuple;
85pub use tuple::*;
86
87mod from_value;
88
89mod into_value;
90
91mod owned_value;
92pub use owned_value::*;
93
94#[cfg(feature = "gvariant")]
95mod framing_offset_size;
96#[cfg(feature = "gvariant")]
97mod framing_offsets;
98
99mod container_depths;
100
101pub mod as_value;
102#[deprecated(since = "5.5.0", note = "Use `as_value::Deserialize` instead.")]
103pub use as_value::Deserialize as DeserializeValue;
104#[deprecated(since = "5.5.0", note = "Use `as_value::Serialize` instead.")]
105pub use as_value::Serialize as SerializeValue;
106
107pub use zvariant_derive::{DeserializeDict, OwnedValue, SerializeDict, Type, Value, signature};
108
109extern crate self as zvariant;
111
112#[doc(hidden)]
114pub mod export {
115 pub use serde;
116}
117
118pub use endi::*;