Skip to content

Commit de6e781

Browse files
Add MSRV policy and update MSRV to 1.60.0 (#337)
1 parent 42a8ce1 commit de6e781

33 files changed

+56
-24
lines changed

.github/workflows/cargo.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
matrix:
2121
os: ["ubuntu-latest", "macos-latest"]
2222
toolchain:
23-
- 1.57.0 # min supported version (https://github.com/webrtc-rs/webrtc/#toolchain)
23+
- 1.60.0 # min supported version (https://github.com/webrtc-rs/webrtc/#toolchain)
2424
- stable
2525
runs-on: ${{ matrix.os }}
2626
steps:
@@ -54,7 +54,7 @@ jobs:
5454
strategy:
5555
matrix:
5656
toolchain:
57-
- 1.57.0 # min supported version (https://github.com/webrtc-rs/webrtc/#toolchain)
57+
- 1.60.0 # min supported version (https://github.com/webrtc-rs/webrtc/#toolchain)
5858
- stable
5959
runs-on: windows-latest
6060
steps:

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
- [Overview](#overview)
5959
- [Features](#features)
6060
- [Building](#building)
61-
- [Toolchain](#toolchain)
61+
- [Toolchain(MSRV)](#toolchain)
6262
- [Monorepo Setup](#monorepo-setup)
6363
- [Testing with Local Dependencies](#testing-with-local-dependencies)
6464
- [Open Source License](#open-source-license)
@@ -108,7 +108,11 @@ This project is still in active and early development stage, please refer to the
108108

109109
### Toolchain
110110

111-
webrtc-rs currently requires Rust 1.57.0+ to build.
111+
**Minimum Supported Rust Version:** `1.60.0`
112+
113+
Our minimum supported rust version(MSRV) policy is to support versions of the compiler released within the last six months. We don't eagerly bump the minimum version we support, instead the minimum will be bumped on a needed by needed basis, usually because downstream dependencies force us to.
114+
115+
**Note:** Changes to the minimum supported version are not consider breaking from a [semver](https://semver.org/) perspective.
112116

113117
### Monorepo Setup
114118

data/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
* Increased minimum support rust version to `1.60.0`.
6+
57
## 0.5.0
68

79
* [#16 [PollDataChannel] reset shutdown_fut future after done](https://github.com/webrtc-rs/data/pull/16) by [@melekes](https://github.com/melekes).

data/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT/Apache-2.0"
88
documentation = "https://docs.rs/webrtc-data"
99
homepage = "https://webrtc.rs"
1010
repository = "https://github.com/webrtc-rs/data"
11-
rust-version = "1.57.0"
11+
rust-version = "1.60.0"
1212

1313
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1414

dtls/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
* Increased minimum support rust version to `1.60.0`.
6+
57
## v0.6.0
68

79
* [#254 [DTLS] Add NamedCurve::P384](https://github.com/webrtc-rs/webrtc/pull/254) contributed by [neonphog](https://github.com/neonphog)

dtls/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT/Apache-2.0"
88
documentation = "https://docs.rs/webrtc-dtls"
99
homepage = "https://webrtc.rs"
1010
repository = "https://github.com/webrtc-rs/dtls"
11-
rust-version = "1.57.0"
11+
rust-version = "1.60.0"
1212

1313
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1414

examples/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT/Apache-2.0"
88
documentation = "https://docs.rs/examples"
99
homepage = "https://webrtc.rs"
1010
repository = "https://github.com/webrtc-rs/examples"
11-
rust-version = "1.57.0"
11+
rust-version = "1.60.0"
1212

1313
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1414

ice/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
* Increased minimum support rust version to `1.60.0`.
6+
57
## v0.8.2
68

79
* Add IP filter to ICE `AgentConfig` [#306](https://github.com/webrtc-rs/webrtc/pull/306) and [#318](https://github.com/webrtc-rs/webrtc/pull/318).

ice/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ license = "MIT/Apache-2.0"
88
documentation = "https://docs.rs/webrtc-ice"
99
homepage = "https://webrtc.rs"
1010
repository = "https://github.com/webrtc-rs/ice"
11-
rust-version = "1.57.0"
11+
rust-version = "1.60.0"
1212

1313
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1414

interceptor/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* Further extended stats interceptors to collect stats for `RemoteOutoundRTPStats` and improve `RemoteInboundRTPStats` collection. [#282](https://github.com/webrtc-rs/webrtc/pull/282) by [@k0nserv](https://github.com/k0nserv).
66
* When generating periodic TWCC feedback packets we no longer burst several packets in a row to catch up, i.e., we now use `MissedTickBehavior::Skip` instead of the default `MissedTickBehavior::Burst` for the ticker in question. [#323](https://github.com/webrtc-rs/webrtc/pull/323) by [@k0nserv](https://github.com/k0nserv).
77
* Don't generate empty TWCC packets that libWebRTC will ignore. [#324](https://github.com/webrtc-rs/webrtc/pull/324) by [@k0nserv](https://github.com/k0nserv).
8+
* Increased minimum support rust version to `1.60.0`.
89

910

1011
## v0.8.0

0 commit comments

Comments
 (0)