#![forbid(unsafe_code)]
#![deny(missing_docs)]
#![doc = include_str!("../README.md")]
#![cfg_attr(coverage_nightly, allow(unused_features))]
#![cfg_attr(coverage_nightly, feature(coverage_attribute))]
extern crate self as packetwire;
mod binary;
mod error;
mod frame;
pub use binary::{BinaryDecode, BinaryEncode, BinaryReader, BinaryWriter, DecodeLimits};
pub use error::{ProtocolError, Result};
pub use frame::{
CodecConfig, Packet, PacketDecoder, PacketEncode, PacketEncoder, PacketId, PacketSet,
};
pub use packetwire_derive::{packet, packet_set};
#[cfg(test)]
#[cfg_attr(coverage_nightly, coverage(off))]
mod sample;
pub const PROTOCOL_VERSION: u16 = 1;