parsely_rs/
lib.rs

1// TODO: these should be moved to a prelude file
2pub use parsely_impl::anyhow::{Context, anyhow, bail};
3pub use parsely_impl::error::{IntoParselyResult, IntoWritableParselyResult, ParselyResult};
4pub use parsely_impl::impl_stateless_sync;
5pub use parsely_impl::nsw_types::*;
6pub use parsely_impl::{BigEndian, ByteOrder, LittleEndian, NetworkOrder};
7pub use parsely_impl::{BitBuf, BitBufExts, BitBufMut, BitBufMutExts, Bits, BitsMut};
8pub use parsely_impl::{BitCursor, BitRead, BitWrite};
9pub use parsely_impl::{
10    parsely_read::ParselyRead, parsely_write::ParselyWrite, parsely_write::StateSync,
11};
12pub use parsely_macro::{ParselyRead, ParselyWrite};
13
14// These are more advanced usage: shouldn't be in prelude but should be accessible (needed to
15// implement custom read/write trait types for the bitcursor type...maybe an alias would be better?)