Skip to content

Commit

Permalink
Merge pull request #6 from lulf/update-stable-rust
Browse files Browse the repository at this point in the history
feat: update to stable rust
  • Loading branch information
rmja committed Jan 7, 2024
2 parents 39ec4a7 + 2236983 commit 001ad69
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 20 deletions.
13 changes: 4 additions & 9 deletions .github/workflows/ci.yaml
Expand Up @@ -16,20 +16,15 @@ env:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
features:
- --no-default-features
- --features async
steps:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly-2023-10-21
toolchain: stable
components: clippy
- uses: actions/checkout@v3
- name: Build
run: cargo build ${{ matrix.features }}
run: cargo build
- name: Clippy
run: cargo clippy ${{ matrix.features }}
run: cargo clippy
- name: Run tests
run: cargo test ${{ matrix.features }}
run: cargo test
7 changes: 2 additions & 5 deletions Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "buffered-io"
version = "0.4.3"
version = "0.5.0"
edition = "2021"
description = "Bufferering types for embedded-io"
readme = "README.md"
Expand All @@ -10,12 +10,9 @@ license = "MIT / Apache-2.0"
keywords = ["embedded", "buffer", "embedded-io", "read", "write"]
exclude = [".github"]

[features]
async = ["embedded-io-async"]

[dependencies]
embedded-io = { version = "0.6" }
embedded-io-async = { version = "0.6", optional = true }
embedded-io-async = { version = "0.6" }

[dev-dependencies]
embedded-io-async = { version = "0.6", features = ["std"] }
Expand Down
1 change: 0 additions & 1 deletion rust-toolchain

This file was deleted.

3 changes: 3 additions & 0 deletions rust-toolchain.toml
@@ -0,0 +1,3 @@
[toolchain]
channel = "1.75"
components = ["clippy"]
5 changes: 0 additions & 5 deletions src/lib.rs
@@ -1,8 +1,3 @@
#![doc = include_str!("../README.md")]
#![cfg_attr(not(test), no_std)]
#![feature(impl_trait_projections)]
#![feature(async_fn_in_trait)]
#![allow(stable_features, unknown_lints, async_fn_in_trait)]

#[cfg(feature = "async")]
pub mod asynch;

0 comments on commit 001ad69

Please sign in to comment.