Skip to content

Commit fa9a923

Browse files
committed
fix: update MSRV to 1.74 and set rust-version in Cargo.toml
1 parent 44d918a commit fa9a923

File tree

3 files changed

+20
-21
lines changed

3 files changed

+20
-21
lines changed

.github/workflows/zeroconf_test.yaml

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,25 @@ on: [push, pull_request]
44

55
jobs:
66
build:
7-
87
runs-on: ubuntu-latest
98

109
steps:
11-
- uses: actions/checkout@v1
10+
- uses: actions/checkout@v1
1211

13-
- name: Install our MSRV
14-
uses: dtolnay/rust-toolchain@stable
15-
with:
16-
toolchain: "1.70"
12+
- name: Install our MSRV
13+
uses: dtolnay/rust-toolchain@stable
14+
with:
15+
toolchain: "1.74"
1716

18-
- name: Compile example
19-
run: cargo build --example register
17+
- name: Compile example
18+
run: cargo build --example register
2019

21-
- name: Install dependencies
22-
run: |
23-
sudo apt-get -y install python3-setuptools python3-wheel
24-
pip3 install --user zeroconf
20+
- name: Install dependencies
21+
run: |
22+
sudo apt-get -y install python3-setuptools python3-wheel
23+
pip3 install --user zeroconf
2524
26-
- name: Test zeroconf
27-
run: |
28-
timeout 5 cargo run --example register &
29-
python3 examples/zeroconf_test.py
25+
- name: Test zeroconf
26+
run: |
27+
timeout 5 cargo run --example register &
28+
python3 examples/zeroconf_test.py

Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
name = "libmdns"
33
version = "0.9.1"
44
authors = ["Will Stott <willstott101+libmdns@gmail.com>"]
5-
65
description = "mDNS Responder library for building discoverable LAN services in Rust"
76
repository = "https://github.com/librespot-org/libmdns"
87
readme = "README.md"
98
license = "MIT"
109
edition = "2018"
10+
rust-version = "1.74"
1111

1212
[dependencies]
1313
byteorder = "1.5"
@@ -23,7 +23,7 @@ socket2 = { version = "0.5", features = ["all"] }
2323

2424
[dev-dependencies]
2525
env_logger = { version = "0.10.2", default-features = false, features = [
26-
"color",
27-
"humantime",
28-
"auto-color",
26+
"color",
27+
"humantime",
28+
"auto-color",
2929
] }

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ See the [example](https://github.com/librespot-org/libmdns/blob/stable-0.9.x/exa
2020

2121
## Dependencies
2222

23-
libmdns' oldest supported Rust toolchain is `1.70.0`, _however it may compile fine on older versions of rust._
23+
libmdns' MSRV (oldest supported Rust toolchain) is 1.74.0.
2424

2525
**We hold no strong garantees for sticking to a Minimum Supported Rust Version**. Please open an issue on GitHub if you need support for older compilers or different platforms.
2626

0 commit comments

Comments
 (0)