webrtc icon indicating copy to clipboard operation
webrtc copied to clipboard

MSRV is incorrectly stated, should be 1.87

Open nemosupremo opened this issue 1 month ago • 1 comments

I recently tried compiling a project using webrtc 0.14. The readme states the MSRV is 1.65, but the project failed to build with 1.85:

error[E0658]: use of unstable library feature `unsigned_is_multiple_of`
    --> /home/n/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/sdp-0.10.0/src/description/session.rs:1155:22
     |
1155 |     if !fields.len().is_multiple_of(2) {
     |                      ^^^^^^^^^^^^^^
     |
     = note: see issue #128101 <https://github.com/rust-lang/rust/issues/128101> for more information

is_multiple_of was stabilized in 1.87.

nemosupremo avatar Nov 11 '25 22:11 nemosupremo

I don't think it's worth it to break MSRV over a clippy::manual_is_multiple_of, maybe these changes could be reverted instead? 😅

For context, we're looking to use the SCTP crate for our project, but we have a requirement to build with 1.75. This seems to be the only blocking point for the SCTP crate to compile with 1.75 (due to util crate dependency).

oteffahi avatar Nov 24 '25 13:11 oteffahi