#![warn(
missing_copy_implementations,
missing_debug_implementations,
missing_docs,
non_ascii_idents,
trivial_casts,
unused,
unused_qualifications,
clippy::expect_used,
clippy::unwrap_used
)]
#![deny(unsafe_code)]
#![cfg_attr(not(feature = "std"), no_std)]
mod channel;
mod command;
mod error;
mod message;
mod packet;
mod response;
mod transaction;
mod util;
pub use channel::Channel;
pub use command::{Command, VendorCommand};
pub use error::{
DefragmentationError, DeviceError, FragmentationError, ParseError, SerializationError,
};
pub use message::{DefragmentedMessage, Fragments, Message, PartialMessage};
pub use packet::{ContinuationPacket, InitializationPacket, Packet, PacketType};
pub use response::{Capabilities, DeviceVersion, InitResponse};
pub use transaction::Transaction;
pub const PROTOCOL_VERSION: u8 = 2;