Skip to content

Commit 3c38496

Browse files
authored
raise MSRV to 1.85 (#723)
1 parent 539bc95 commit 3c38496

File tree

7 files changed

+11
-13
lines changed

7 files changed

+11
-13
lines changed

.cirrus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ task:
1414
- name: FreeBSD 14.0 - Rust nightly
1515
env:
1616
RUST_VERSION: nightly
17-
- name: FreeBSD 14.0 - Rust 1.82 (MSRV)
17+
- name: FreeBSD 14.0 - Rust 1.85 (MSRV)
1818
env:
19-
RUST_VERSION: 1.82
19+
RUST_VERSION: 1.85
2020

2121
setup_script:
2222
- rm -f rust-toolchain.toml

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
fail-fast: false
6262
matrix:
6363
os: [ubuntu-latest, windows-latest]
64-
rust: [stable, nightly, 1.82]
64+
rust: [stable, nightly, 1.85]
6565
features: [""]
6666
include:
6767
# MacOS with fsevent
@@ -72,7 +72,7 @@ jobs:
7272
rust: nightly
7373
features: "--no-default-features --features macos_fsevent"
7474
- os: macos-latest
75-
rust: 1.82
75+
rust: 1.85
7676
features: "--no-default-features --features macos_fsevent"
7777
# MacOS with kqueue
7878
- os: macos-latest
@@ -82,7 +82,7 @@ jobs:
8282
rust: nightly
8383
features: "--no-default-features --features macos_kqueue"
8484
- os: macos-latest
85-
rust: 1.82
85+
rust: 1.85
8686
features: "--no-default-features --features macos_kqueue"
8787

8888
steps:

CHANGELOG.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
# Changelog
2-
## notify 9.0.0 (unreleased)
3-
4-
- CHANGE: raise MSRV to 1.82 **breaking**
52

6-
## notify (unreleased)
3+
## notify 9.0.0 (unreleased)
4+
- CHANGE: raise MSRV to 1.85 **breaking**
75
- FIX: Fix the bug that `FsEventWatcher` crashes when dealing with empty path [#718]
86

97
[#718]: https://github.com/notify-rs/notify/pull/718

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ exclude = [
1313
]
1414

1515
[workspace.package]
16-
rust-version = "1.82"
16+
rust-version = "1.85"
1717
homepage = "https://github.com/notify-rs/notify"
1818
repository = "https://github.com/notify-rs/notify.git"
1919
edition = "2021"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ _Cross-platform filesystem notification library for Rust._
1818
- [Examples][examples]
1919
- [Changelog][changelog]
2020
- [Upgrading notify from v4](UPGRADING_V4_TO_V5.md)
21-
- Minimum supported Rust version: **1.82**
21+
- Minimum supported Rust version: **1.85**
2222

2323
As used by: [alacritty], [cargo watch], [cobalt], [deno], [docket], [mdBook],
2424
[rust-analyzer], [watchexec], [watchfiles], [xi-editor],

notify/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ pub trait Watcher {
367367
/// ```
368368
fn paths_mut<'me>(&'me mut self) -> Box<dyn PathsMut + 'me> {
369369
struct DefaultPathsMut<'a, T: ?Sized>(&'a mut T);
370-
impl<'a, T: Watcher + ?Sized> PathsMut for DefaultPathsMut<'a, T> {
370+
impl<T: Watcher + ?Sized> PathsMut for DefaultPathsMut<'_, T> {
371371
fn add(&mut self, path: &Path, recursive_mode: RecursiveMode) -> Result<()> {
372372
self.0.watch(path, recursive_mode)
373373
}

rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[toolchain]
2-
channel = "1.82"
2+
channel = "1.85"
33
profile = "minimal"
44
components = [
55
"clippy",

0 commit comments

Comments
 (0)