#![cfg_attr(not(feature = "std"), no_std)]
#![doc = "Portable MSRT protocol implementation."]
#![warn(missing_docs)]
#![forbid(unsafe_code)]
#![warn(
clippy::alloc_instead_of_core,
clippy::std_instead_of_alloc,
clippy::std_instead_of_core
)]
pub mod core;
pub mod engine;
pub mod error;
pub mod reliability;
pub mod wire;
pub use crate::core::ChannelId;
pub use crate::engine::{
ChannelProfile, ChannelSpec, DEFAULT_FRAGMENT_BYTES, DEFAULT_MAX_RETRANSMIT_ATTEMPTS,
DEFAULT_REASSEMBLY_TIMEOUT_MS, DEFAULT_RETRANSMIT_TIMEOUT_MS, Engine, EngineConfig,
EngineOutput, MAX_CHANNEL_POLICIES, MAX_CHANNEL_SPECS, MAX_EVENTS, MAX_MESSAGE_BYTES,
MAX_WIRE_BYTES, MessageEvent, ReceiveReport, SendFailedEvent, SendFailureReason, WriteEvent,
};
pub use crate::reliability::{ChannelReliability, ReliabilityMode};
pub type Config = EngineConfig;
pub type Event = EngineOutput;
pub type Message = MessageEvent;
pub type Write = WriteEvent;
pub type Receive = ReceiveReport;
pub type SendFailed = SendFailedEvent;