Skip to content

Commit f219a00

Browse files
committed
Bump MSRV to 1.70
1 parent 2658a90 commit f219a00

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ jobs:
1414
strategy:
1515
fail-fast: false
1616
matrix:
17-
build: [stable, 1.63.0, beta, nightly, macos, windows]
17+
build: [stable, 1.70.0, beta, nightly, macos, windows]
1818
include:
1919
- build: stable
2020
os: ubuntu-latest
2121
rust: stable
22-
- build: 1.63.0
22+
- build: 1.70.0
2323
os: ubuntu-latest
24-
rust: 1.63.0
24+
rust: 1.70.0
2525
- build: beta
2626
os: ubuntu-latest
2727
rust: beta

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ possible intended.
1818
keywords = ["io", "socket", "network"]
1919
categories = ["api-bindings", "network-programming"]
2020
edition = "2021"
21-
rust-version = "1.63"
21+
rust-version = "1.70"
2222
include = [
2323
"Cargo.toml",
2424
"LICENSE-APACHE",

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ feature flag.
6666

6767
# Minimum Supported Rust Version (MSRV)
6868

69-
Socket2 uses 1.63.0 as MSRV.
69+
Socket2 uses 1.70.0 as MSRV.
7070

7171
# License
7272

src/sys/unix.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2828,9 +2828,9 @@ impl crate::Socket {
28282828
#[cfg(all(feature = "all", any(target_os = "linux", target_os = "android")))]
28292829
#[repr(transparent)]
28302830
pub struct SockFilter {
2831-
// For some reason Rust 1.63 thinks this field is unused, while it's clearly
2831+
// For some reason Rust 1.70 thinks this field is unused, while it's clearly
28322832
// used in `SockFilter::new`. This issue seems fixed in later Rust versions,
2833-
// but we still need to support 1.63, adding allow(dead_code) ignores the
2833+
// but we still need to support 1.70, adding allow(dead_code) ignores the
28342834
// issue.
28352835
#[allow(dead_code)]
28362836
filter: libc::sock_filter,

0 commit comments

Comments
 (0)