Compare commits

...

3 Commits

Author SHA1 Message Date
Taiki Endo 0cde16963a Apply clippy to all targets 2022-07-17 21:21:15 +09:00
Taiki Endo d67925c935 Bump MSRV to Rust 1.47
https://github.com/smol-rs/async-task/releases/tag/v4.3.0
2022-07-08 01:58:36 +09:00
Taiki Endo 78a7ea06b6 Update CI config 2022-07-08 01:57:24 +09:00
4 changed files with 5 additions and 15 deletions

View File

@ -1 +1 @@
msrv = "1.46"
msrv = "1.47"

View File

@ -36,7 +36,7 @@ jobs:
matrix:
# When updating this, the reminder to update the minimum supported
# Rust version in Cargo.toml and .clippy.toml.
rust: ['1.46']
rust: ['1.47']
steps:
- uses: actions/checkout@v3
- name: Install Rust
@ -49,10 +49,7 @@ jobs:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable
- uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-features -- -W clippy::all
- run: cargo clippy --all-features --all-targets
fmt:
runs-on: ubuntu-latest
@ -60,7 +57,7 @@ jobs:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable
- run: cargo fmt --all -- --check
- run: cargo fmt --all --check
security_audit:
runs-on: ubuntu-latest

View File

@ -5,19 +5,12 @@ on:
tags:
- v[0-9]+.*
env:
RUSTFLAGS: -D warnings
RUST_BACKTRACE: 1
jobs:
create-release:
if: github.repository_owner == 'smol-rs'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Rust
run: rustup update stable
- run: cargo package
- uses: taiki-e/create-gh-release-action@v1
with:
changelog: CHANGELOG.md

View File

@ -6,7 +6,7 @@ name = "async-net"
version = "1.6.1"
authors = ["Stjepan Glavina <stjepang@gmail.com>"]
edition = "2018"
rust-version = "1.46"
rust-version = "1.47"
description = "Async networking primitives for TCP/UDP/Unix communication"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/smol-rs/async-net"