core2 icon indicating copy to clipboard operation
core2 copied to clipboard

The bare essentials of std::io for use in no_std. Alloc support is optional.

Results 13 core2 issues
Sort by recently updated
recently updated
newest added

I get this error: ``` doesn't satisfy `Vec: WriteBytesExt` doesn't satisfy `Vec: core2::io::traits::Write ``` I dont understand why since it is implemented in the impl folder...

I copied your implementation of the BufReader, tested it with new Rust and discovered that it compiles without nightly feature. Looks like Rust already supports const generic. Details: https://blog.rust-lang.org/2021/02/26/const-generics-mvp-beta.html Maybe...

https://github.com/technocreatives/core2/blob/d2d4681c13dfef88ac5fe0ced8d3cb98ccdee85c/src/io/buffered.rs#L612-613 https://github.com/technocreatives/core2/blob/d2d4681c13dfef88ac5fe0ced8d3cb98ccdee85c/src/io/buffered.rs#L631-633 `copy_from_slice` panics if the slices are of different length. The code does not limit `self.buf` to the correct slice offset and length needed for this call to ever...

This is more of a question since I don't know its implications. Would it make sense for this crate to re-export `std::error::Error` when the `std` feature is enabled so users...

Thanks for core2! I was able to port a `std::io`-using codebase to it very easily. The one thing I needed that was missing was [`IoSlice`](https://doc.rust-lang.org/stable/std/io/struct.IoSlice.html) and [`IoSliceMut`](https://doc.rust-lang.org/stable/std/io/struct.IoSliceMut.html), though for my...

What's here is the bare minimum necessary. Three things I think are high priority: - [ ] Add module documentation - [ ] Fix doctests that don't pass (predominantly in...

documentation
help wanted
good first issue

Feature read_initializer was deleted and maybe_uninit_ref was stablized.

https://docs.rs/crate/core2/0.4.0/builds/501312 ``` [INFO] [stderr] Documenting core2 v0.4.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0635]: unknown feature `read_initializer` [INFO] [stderr] --> src/lib.rs:3:64 [INFO] [stderr] | [INFO] [stderr] 3 | #![cfg_attr(all(feature = "std", feature =...

it seems this project is mainly maintained in this org not the fork, right? this appears to be legacy metadata from a repository transfer (if any).

Some fixes for features that have become stable, and an MSRV bump to fix MacOS CI builds.