1pub mod attrs;
2pub mod builder;
3pub mod consts;
4mod decoder;
5pub mod diagnostics;
6pub mod encoder;
7pub mod error;
8pub mod jid;
9pub mod marshal;
10pub mod node;
11pub mod stream;
12pub mod token;
13pub mod util;
14pub mod zlib_pool;
15
16pub use attrs::{AttrParser, AttrParserRef};
17pub use compact_str::CompactString;
18pub use decoder::OpenContent;
19pub use error::{BinaryError, Result};
20pub use jid::{
21 BOT_SERVER, BROADCAST_SERVER, DEFAULT_USER_SERVER, DeviceKey, GROUP_SERVER, HIDDEN_USER_SERVER,
22 HOSTED_LID_SERVER, HOSTED_SERVER, INTEROP_SERVER, Jid, JidExt, JidRef, LEGACY_USER_SERVER,
23 MESSENGER_SERVER, MessageId, MessageServerId, NEWSLETTER_SERVER, SERVER_JID,
24 STATUS_BROADCAST_USER, Server, push_jid_to_compact, push_jid_to_string,
25};
26pub use marshal::{
27 marshal, marshal_auto, marshal_exact, marshal_ref, marshal_ref_auto, marshal_ref_exact,
28 marshal_ref_to, marshal_ref_to_vec, marshal_shallow, marshal_to, marshal_to_vec,
29};
30pub use node::{
31 Attrs, Node, NodeContent, NodeContentRef, NodeRef, NodeStr, NodeValue, OwnedNodeRef,
32};
33pub use stream::{NodeStream, OpenNode};