diff options
Diffstat (limited to 'src/util/mod.rs')
-rw-r--r-- | src/util/mod.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/mod.rs b/src/util/mod.rs new file mode 100644 index 0000000..a17f25a --- /dev/null +++ b/src/util/mod.rs @@ -0,0 +1,8 @@ +mod maybe_dangling; +#[cfg(any(feature = "io", feature = "codec"))] +mod poll_buf; + +pub(crate) use maybe_dangling::MaybeDangling; +#[cfg(any(feature = "io", feature = "codec"))] +#[cfg_attr(not(feature = "io"), allow(unreachable_pub))] +pub use poll_buf::{poll_read_buf, poll_write_buf}; |