d1abdf1838
CI / test-nightly (macos-latest, nightly) (push) Has been cancelled
CI / test-nightly (ubuntu-latest, nightly) (push) Has been cancelled
CI / test-nightly (windows-latest, nightly) (push) Has been cancelled
CI / test-stable (macos-latest, stable) (push) Has been cancelled
CI / test-stable (ubuntu-latest, stable) (push) Has been cancelled
CI / test-stable (windows-latest, stable) (push) Has been cancelled
CI / test-msrv (macos-latest, 1.47) (push) Has been cancelled
CI / test-msrv (ubuntu-latest, 1.47) (push) Has been cancelled
CI / test-msrv (windows-latest, 1.47) (push) Has been cancelled
27 lines
662 B
Rust
27 lines
662 B
Rust
#[cfg(feature = "nightly")]
|
|
mod buffered;
|
|
mod cursor;
|
|
mod error;
|
|
mod impls;
|
|
mod traits;
|
|
mod util;
|
|
|
|
#[cfg(not(feature = "std"))]
|
|
pub use cursor::Cursor;
|
|
#[cfg(not(feature = "std"))]
|
|
pub use error::{Error, ErrorKind, Result};
|
|
#[cfg(not(feature = "std"))]
|
|
pub use traits::{BufRead, Bytes, Chain, Read, Seek, SeekFrom, Take, Write};
|
|
|
|
#[cfg(feature = "std")]
|
|
pub use std::io::{
|
|
BufRead, Bytes, Chain, Cursor, Error, ErrorKind, Read, Result, Seek, SeekFrom, Take, Write,
|
|
};
|
|
|
|
// Use this crate's implementation on both std and no_std
|
|
#[cfg(feature = "nightly")]
|
|
pub use buffered::{BufReader, BufWriter, LineWriter};
|
|
|
|
#[cfg(feature = "nightly")]
|
|
pub use util::copy;
|