rama-core 0.3.0

rama service core code, used by rama and service authors
Documentation
pub mod json;

mod forward;
#[doc(inline)]
pub use forward::{BridgeCloseReason, StreamBridge, StreamForwardService};

mod bytes_freeze;
#[doc(inline)]
pub use bytes_freeze::BytesFreeze;

pub mod codec {
    //! Adaptors from `AsyncRead`/`AsyncWrite` to Stream/Sink
    //!
    //! Raw I/O objects work with byte sequences, but higher-level code usually
    //! wants to batch these into meaningful chunks, called "frames".
    //!
    //! Re-export of [`tokio_util::codec`].

    pub use tokio_util::codec::*;
}

pub mod io {
    //! Helpers for IO related tasks.
    //!
    //! Re-export of [`tokio_util::io`].

    pub use tokio_util::io::*;
}

#[doc(inline)]
pub use ::tokio_stream::*;