Compare commits

...

3 Commits

Author SHA1 Message Date
Taiki Endo cc274cb9be Bump MSRV to 1.48
async-lock 2.7.0 requires Rust 1.48.

```
error[E0658]: use of unstable library feature 'future_readiness_fns'
   --> /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/async-lock-2.7.0/src/once_cell.rs:430:45
    |
430 |             self.initialize_or_wait(move || std::future::ready(closure()), &mut Blocking),
    |                                             ^^^^^^^^^^^^^^^^^^
    |
```
2023-03-06 01:45:04 +09:00
Taiki Endo 8336e23129 Minimize GITHUB_TOKEN permissions
Refs: https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token
2023-01-21 20:33:30 +09:00
Taiki Endo e6d1f2c003 Set CARGO_NET_GIT_FETCH_WITH_CLI=true in CI 2023-01-21 20:07:16 +09:00
3 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,8 @@
name: CI
permissions:
contents: read
on:
pull_request:
push:
@ -10,6 +13,7 @@ on:
env:
CARGO_INCREMENTAL: 0
CARGO_NET_GIT_FETCH_WITH_CLI: true
CARGO_NET_RETRY: 10
CARGO_TERM_COLOR: always
RUST_BACKTRACE: 1
@ -47,7 +51,7 @@ jobs:
os: [ubuntu-latest, windows-latest]
# When updating this, the reminder to update the minimum supported
# Rust version in Cargo.toml.
rust: ['1.47']
rust: ['1.48']
steps:
- uses: actions/checkout@v3
- name: Install Rust

View File

@ -1,5 +1,8 @@
name: Release
permissions:
contents: write
on:
push:
tags:

View File

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