Skip to content

Commit ec60d88

Browse files
committed
edition 2024
1 parent 92eb2e9 commit ec60d88

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

.github/workflows/build-and-test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
os: [ubuntu-latest, windows-latest, macos-latest]
16-
rust: [nightly, beta, stable, 1.80.0]
16+
rust: [nightly, beta, stable, 1.85.0]
1717
steps:
1818
- uses: actions/checkout@v2
1919

.rustfmt.toml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
style_edition = "2024"

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ name = "async-global-executor"
33
version = "3.1.0"
44
authors = ["Marc-Antoine Perennou <[email protected]>"]
55
description = "A global executor built on top of async-executor and async-io"
6-
edition = "2021"
6+
edition = "2024"
77
license = "Apache-2.0 OR MIT"
88
repository = "https://github.com/Keruspe/async-global-executor"
99
homepage = "https://github.com/Keruspe/async-global-executor"
1010
documentation = "https://docs.rs/async-global-executor"
1111
keywords = ["async", "await", "future", "executor"]
1212
categories = ["asynchronous", "concurrency"]
1313
readme = "README.md"
14-
rust-version = "1.80"
14+
rust-version = "1.85"
1515

1616
[features]
1717
default = ["async-io"]

src/config.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use std::{
22
fmt,
33
sync::{
4-
atomic::{AtomicUsize, Ordering},
54
OnceLock,
5+
atomic::{AtomicUsize, Ordering},
66
},
77
};
88

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
//! ```
2727
2828
#![forbid(unsafe_code)]
29-
#![warn(missing_docs, missing_debug_implementations, rust_2018_idioms)]
29+
#![warn(missing_docs, missing_debug_implementations)]
3030

3131
#[cfg(doctest)]
3232
doc_comment::doctest!("../README.md");

0 commit comments

Comments
 (0)