Sha256: 6a9012d78fe2bed8240e7a628e9421cbef45433551522624065fdcbb329f3594

Contents?: true

Size: 1.81 KB

Versions: 24

Compression:

Stored size: 1.81 KB

Contents

#![allow(unreachable_pub)] // https://github.com/rust-lang/rust/issues/57411

cfg_io_util! {
    mod async_buf_read_ext;
    pub use async_buf_read_ext::AsyncBufReadExt;

    mod async_read_ext;
    pub use async_read_ext::AsyncReadExt;

    mod async_seek_ext;
    pub use async_seek_ext::AsyncSeekExt;

    mod async_write_ext;
    pub use async_write_ext::AsyncWriteExt;

    mod buf_reader;
    pub use buf_reader::BufReader;

    mod buf_stream;
    pub use buf_stream::BufStream;

    mod buf_writer;
    pub use buf_writer::BufWriter;

    mod chain;

    mod copy;
    pub use copy::copy;

    mod copy_bidirectional;
    pub use copy_bidirectional::copy_bidirectional;

    mod copy_buf;
    pub use copy_buf::copy_buf;

    mod empty;
    pub use empty::{empty, Empty};

    mod flush;

    mod lines;
    pub use lines::Lines;

    mod mem;
    pub use mem::{duplex, DuplexStream};

    mod read;
    mod read_buf;
    mod read_exact;
    mod read_int;
    mod read_line;
    mod fill_buf;

    mod read_to_end;
    mod vec_with_initialized;
    cfg_process! {
        pub(crate) use read_to_end::read_to_end;
    }

    mod read_to_string;
    mod read_until;

    mod repeat;
    pub use repeat::{repeat, Repeat};

    mod shutdown;

    mod sink;
    pub use sink::{sink, Sink};

    mod split;
    pub use split::Split;

    mod take;
    pub use take::Take;

    mod write;
    mod write_vectored;
    mod write_all;
    mod write_buf;
    mod write_all_buf;
    mod write_int;


    // used by `BufReader` and `BufWriter`
    // https://github.com/rust-lang/rust/blob/master/library/std/src/sys_common/io.rs#L1
    const DEFAULT_BUF_SIZE: usize = 8 * 1024;
}

cfg_not_io_util! {
    cfg_process! {
        mod vec_with_initialized;
        mod read_to_end;
        // Used by process
        pub(crate) use read_to_end::read_to_end;
    }
}

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
wasmtime-17.0.1 ./ext/cargo-vendor/tokio-1.35.1/src/io/util/mod.rs
wasmtime-17.0.0 ./ext/cargo-vendor/tokio-1.35.1/src/io/util/mod.rs
wasmtime-16.0.0 ./ext/cargo-vendor/tokio-1.35.1/src/io/util/mod.rs
wasmtime-15.0.1 ./ext/cargo-vendor/tokio-1.35.1/src/io/util/mod.rs
wasmtime-15.0.0 ./ext/cargo-vendor/tokio-1.35.1/src/io/util/mod.rs
wasmtime-14.0.4 ./ext/cargo-vendor/tokio-1.33.0/src/io/util/mod.rs
wasmtime-14.0.3 ./ext/cargo-vendor/tokio-1.33.0/src/io/util/mod.rs
wasmtime-14.0.1 ./ext/cargo-vendor/tokio-1.33.0/src/io/util/mod.rs
wasmtime-14.0.0 ./ext/cargo-vendor/tokio-1.33.0/src/io/util/mod.rs
wasmtime-13.0.0 ./ext/cargo-vendor/tokio-1.32.0/src/io/util/mod.rs
wasmtime-12.0.1 ./ext/cargo-vendor/tokio-1.32.0/src/io/util/mod.rs
wasmtime-12.0.0 ./ext/cargo-vendor/tokio-1.32.0/src/io/util/mod.rs
wasmtime-11.0.0 ./ext/cargo-vendor/tokio-1.32.0/src/io/util/mod.rs
wasmtime-10.0.1 ./ext/cargo-vendor/tokio-1.30.0/src/io/util/mod.rs
wasmtime-10.0.0 ./ext/cargo-vendor/tokio-1.30.0/src/io/util/mod.rs
wasmtime-9.0.4 ./ext/cargo-vendor/tokio-1.30.0/src/io/util/mod.rs
wasmtime-9.0.1 ./ext/cargo-vendor/tokio-1.28.1/src/io/util/mod.rs
wasmtime-8.0.0 ./ext/cargo-vendor/tokio-1.27.0/src/io/util/mod.rs
wasmtime-7.0.0 ./ext/cargo-vendor/tokio-1.27.0/src/io/util/mod.rs
wasmtime-6.0.1 ./ext/cargo-vendor/tokio-1.25.0/src/io/util/mod.rs