#![deny(missing_docs)]
#![allow(clippy::len_without_is_empty)]
#[doc(hidden)]
pub mod channel;
mod constants;
pub(crate) mod encoding;
mod error;
mod event;
mod keypair;
mod protocol;
#[cfg(feature = "zlib")]
pub mod zlib;
pub use constants::*;
pub use encoding::{decode, encode, VERSION};
pub use error::Error;
pub use event::{Event, JsonMessage};
pub use keypair::*;
pub use protocol::*;
pub use hex;
pub use http;
pub use log;
pub use pem;
pub use serde_json;
pub use snow;
pub use uuid;
pub type RoundNumber = std::num::NonZeroU16;
pub type PartyNumber = std::num::NonZeroU16;
pub type Result<T> = std::result::Result<T, Error>;