diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5881a9f..1040c61 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,7 +66,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, windows-latest, macos-latest] - rust: [1.47] + rust: [1.55] steps: - uses: actions/checkout@v2 - name: Install Rust toolchain diff --git a/README.md b/README.md index e7232c1..d7ab656 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ [![Actions Status](https://github.com/bbqsrc/core2/workflows/CI/badge.svg)](https://github.com/bbqsrc/core2/actions) [![Documentation](https://docs.rs/core2/badge.svg)](https://docs.rs/core2) -![Minimum Supported Rust Version (MSRV)](https://img.shields.io/badge/rust-v1.47.0+-blue) +![Minimum Supported Rust Version (MSRV)](https://img.shields.io/badge/rust-v1.55.0+-blue) Ever wanted a `Cursor` or the `Error` trait in `no_std`? Well now you can have it. A 'fork' of Rust's `std` modules for `no_std` environments, with the added benefit of optionally taking advantage of `alloc`. The goal of this crate is to provide a stable interface for building I/O and error trait functionality in -`no_std` environments. The current code corresponds to the most recent stable API of Rust 1.47.0. +`no_std` environments. The current code corresponds to the most recent stable API of Rust 1.55.0. It is also a goal to achieve a true alloc-less experience, with opt-in alloc support. This crate works on `stable` with some limitations in functionality, and `nightly` without limitations by adding diff --git a/src/lib.rs b/src/lib.rs index 1016168..c0853b5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,4 @@ -#![cfg_attr(feature = "nightly", feature(maybe_uninit_ref))] #![cfg_attr(feature = "nightly", feature(never_type))] -#![cfg_attr(all(feature = "std", feature = "nightly"), feature(read_initializer))] #![cfg_attr(not(feature = "std"), no_std)] #![cfg_attr(feature = "std", allow(dead_code))]