From caad60a4dda2f1d9a1baaf7e90c0eff0b9a9a71f Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 15 Dec 2025 13:10:43 +1100 Subject: [PATCH 1/2] update thiserror to 2 --- .github/workflows/rust.yml | 6 +++--- Cargo.lock.msrv | 38 +++++++++++++++++++------------------- Cargo.toml | 4 ++-- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 4799c96..8bb251a 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -16,7 +16,7 @@ jobs: strategy: matrix: - toolchain: ['1.57', stable] + toolchain: ['1.68', stable] steps: - uses: actions/checkout@v2 @@ -27,10 +27,10 @@ jobs: override: true - name: Build using MSRV Cargo.lock run: cp Cargo.lock.msrv Cargo.lock && cargo build --locked - if: matrix.toolchain == '1.57' + if: matrix.toolchain == '1.68' - name: Build run: cargo build --verbose - if: matrix.toolchain != '1.57' + if: matrix.toolchain != '1.68' test: runs-on: ubuntu-latest diff --git a/Cargo.lock.msrv b/Cargo.lock.msrv index 49dd24c..f4ec0c8 100644 --- a/Cargo.lock.msrv +++ b/Cargo.lock.msrv @@ -21,9 +21,9 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.177" +version = "0.2.178" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976" +checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091" [[package]] name = "ppv-lite86" @@ -36,18 +36,18 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.95" +version = "1.0.103" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02b3e5e68a3a1a02aad3ec490a98007cbc13c37cbe84a3cd7b8e406d76e7f778" +checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.40" +version = "1.0.42" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d" +checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f" dependencies = [ "proc-macro2", ] @@ -84,7 +84,7 @@ dependencies = [ [[package]] name = "rtcp-types" -version = "0.2.0" +version = "0.3.0" dependencies = [ "rand", "thiserror", @@ -92,9 +92,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.56" +version = "2.0.111" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e2415488199887523e74fd9a5f7be804dfd42d868ae0eca382e3917094d210e" +checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87" dependencies = [ "proc-macro2", "quote", @@ -103,18 +103,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.65" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d11abd9594d9b38965ef50805c5e469ca9cc6f197f883f717e0269a3057b3d5" +checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.65" +version = "2.0.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae71770322cbd277e69d762a16c444af02aa0575ac0d174f0b9562d3b37f8602" +checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913" dependencies = [ "proc-macro2", "quote", @@ -123,9 +123,9 @@ dependencies = [ [[package]] name = "unicode-ident" -version = "1.0.18" +version = "1.0.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512" +checksum = "9312f7c4f6ff9069b165498234ce8be658059c6728633667c526e27dc2cf1df5" [[package]] name = "wasi" @@ -135,18 +135,18 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" [[package]] name = "zerocopy" -version = "0.8.28" +version = "0.8.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43fa6694ed34d6e57407afbccdeecfa268c470a7d2a5b0cf49ce9fcc345afb90" +checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3" dependencies = [ "zerocopy-derive", ] [[package]] name = "zerocopy-derive" -version = "0.8.28" +version = "0.8.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c640b22cd9817fae95be82f0d2f90b11f7605f6c319d16705c459b27ac2cbc26" +checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a" dependencies = [ "proc-macro2", "quote", diff --git a/Cargo.toml b/Cargo.toml index 78509c2..1ea6b4e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,10 +15,10 @@ categories = [ ] documentation = "https://docs.rs/rtcp-types" repository = "https://github.com/ystreet/rtcp-types" -rust-version = '1.57.0' +rust-version = '1.68.0' [dependencies] -thiserror = "1" +thiserror = "2" [dev-dependencies] rand = "0.8" From 5f485ad31d17a72a32b7b2a5d0ba738d1ae8fb18 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Mon, 15 Dec 2025 13:10:57 +1100 Subject: [PATCH 2/2] Release 0.3.0 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 1ea6b4e..b04e160 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rtcp-types" description = "RTCP packet parser and writers" -version = "0.2.0" +version = "0.3.0" authors = ["Matthew Waters "] license = "MIT OR Apache-2.0" edition = "2021"