core2 0.4.0 - mirror of yanked crates.io release for workspace patch
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
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
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#[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;
|
||||
Reference in New Issue
Block a user