Skip to content

Commit

Permalink
tls_codec: bump clap to v4.5 (#1628)
Browse files Browse the repository at this point in the history
Trying to fix the security audit

Update MSRV to 1.74

---------

Co-authored-by: Franziskus Kiefer <[email protected]>
  • Loading branch information
tarcieri and franziskuskiefer authored Jan 3, 2025
1 parent 5c1e2c4 commit e10b2ff
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 103 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tls_codec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
strategy:
matrix:
rust:
- 1.70.0 # MSRV
- 1.74.0 # MSRV
- stable
target:
- wasm32-unknown-unknown
Expand All @@ -50,15 +50,15 @@ jobs:
include:
# 32-bit Linux
- targets: i686-unknown-linux-gnu
rust: 1.70.0 # MSRV
rust: 1.74.0 # MSRV
deps: sudo apt update && sudo apt install gcc-multilib
- targets: i686-unknown-linux-gnu
rust: stable
deps: sudo apt update && sudo apt install gcc-multilib

# 64-bit Linux
- targets: x86_64-unknown-linux-gnu
rust: 1.70.0 # MSRV
rust: 1.74.0 # MSRV
- targets: x86_64-unknown-linux-gnu
rust: stable
steps:
Expand Down
128 changes: 34 additions & 94 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions tls_codec/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

- [#1628](https://github.com/RustCrypto/formats/pull/1628) Bump MSRV to 1.74

## 0.4.1

- [#1284](https://github.com/RustCrypto/formats/pull/1284): implement `U24`. A `U24` integer type can be used for length encoding in three bytes.
Expand Down
10 changes: 5 additions & 5 deletions tls_codec/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ readme = "README.md"
homepage = "https://github.com/RustCrypto/formats/tree/master/tls_codec"
repository = "https://github.com/RustCrypto/formats"
edition = "2021"
rust-version = "1.70"
rust-version = "1.74"

[dependencies]
zeroize = { version = "1.8", default-features = false, features = [
Expand All @@ -23,10 +23,10 @@ tls_codec_derive = { version = "=0.4.1", path = "./derive", optional = true }
serde = { version = "1.0.184", features = ["derive"], optional = true }

[dev-dependencies]
clap = "=4.3.23" # pinned to preserve MSRV
clap_lex = "=0.5.0" # pinned to preserve MSRV
anstyle = "=1.0.2" # pinned to preserve MSRV
anstyle-parse = "=0.2.1" # pinned to preserve MSRV
clap = "=4.5.23" # pinned to preserve MSRV
clap_lex = "=0.7.4" # pinned to preserve MSRV
anstyle = "=1.0.10" # pinned to preserve MSRV
anstyle-parse = "=0.2.6" # pinned to preserve MSRV
criterion = { version = "0.5", default-features = false }
regex = "1.8"

Expand Down
2 changes: 1 addition & 1 deletion tls_codec/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ serialization/deserialization

## Minimum Supported Rust Version

This crate requires **Rust 1.70.0** at a minimum.
This crate requires **Rust 1.74.0** at a minimum.

We may change the MSRV in the future, but it will be accompanied by a minor
version bump.
Expand Down

0 comments on commit e10b2ff

Please sign in to comment.