Skip to content

Commit 084b75d

Browse files
NotEvenANekoSpriteOvO
authored andcommitted
Bump MSRV to v1.60
1 parent 93e8b46 commit 084b75d

File tree

8 files changed

+7
-8
lines changed

8 files changed

+7
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919
# - src/lib.rs
2020
# - Cargo.toml
2121
# - README.md
22-
rust_minver: 1.56.0
22+
rust_minver: 1.60.0
2323

2424
defaults:
2525
run:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ When updating this, also update:
4646
- Cargo.toml
4747
-->
4848

49-
The current minimum supported Rust version is 1.56.
49+
The current minimum supported Rust version is 1.60.
5050

5151
`spdlog-rs` is built against the latest Rust stable release, it is not guaranteed to build on Rust versions earlier than the minimum supported version.
5252

spdlog-internal/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "spdlog-internal"
33
version = "0.1.0"
44
edition = "2021"
5-
rust-version = "1.56"
5+
rust-version = "1.60"
66

77
[dependencies]
88
nom = "7.1.3"

spdlog-macros/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "spdlog-macros"
33
version = "0.1.0"
44
edition = "2021"
5-
rust-version = "1.56"
5+
rust-version = "1.60"
66
description = "Macros implementation of crate \"spdlog-rs\""
77
repository = "https://github.com/SpriteOvO/spdlog-rs"
88
license = "MIT OR Apache-2.0"

spdlog/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "spdlog-rs"
33
version = "0.3.13"
44
edition = "2021"
5-
rust-version = "1.56"
5+
rust-version = "1.60"
66
description = "A fast and combinable Rust logging crate, inspired by the C++ logging library spdlog"
77
repository = "https://github.com/SpriteOvO/spdlog-rs"
88
license = "MIT OR Apache-2.0"

spdlog/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
//! - README.md
217217
//! -->
218218
//!
219-
//! The current minimum supported Rust version is 1.56.
219+
//! The current minimum supported Rust version is 1.60.
220220
//!
221221
//! `spdlog-rs` is built against the latest Rust stable release, it is not
222222
//! guaranteed to build on Rust versions earlier than the minimum supported

spdlog/src/record.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ fn get_current_tid() -> u64 {
292292
}
293293

294294
thread_local! {
295-
static TID: RefCell<Option<u64>> = RefCell::new(None);
295+
static TID: RefCell<Option<u64>> = const { RefCell::new(None)} ;
296296
}
297297

298298
TID.with(|tid| *tid.borrow_mut().get_or_insert_with(get_current_tid_inner))

spdlog/src/sink/rotating_file_sink.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,6 @@ impl TimePoint {
648648

649649
#[must_use]
650650
fn delta_chrono(&self) -> chrono::Duration {
651-
#[allow(deprecated)] // For keeping the current MSRV 1.56.0
652651
match self {
653652
Self::Daily { .. } => chrono::Duration::days(1),
654653
Self::Hourly { .. } => chrono::Duration::hours(1),

0 commit comments

Comments
 (0)