Skip to content

Commit

Permalink
proj: update MSRV to 1.63
Browse files Browse the repository at this point in the history
This matches the other Rusticata crates and fixes a build error with
1.60 from `memchr` requiring 1.61+

Requires pinning toml_edit to 0.19.8. In 0.19.9 the MSRV was increased
to 1.64.
  • Loading branch information
cpu committed Apr 12, 2024
1 parent 0fe3da1 commit d31574a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
matrix:
rust:
- stable
- 1.60.0
- 1.63.0
- nightly
steps:
- uses: actions/checkout@v4
Expand All @@ -24,6 +24,9 @@ jobs:
toolchain: ${{ matrix.rust }}
- name: Cargo update
run: cargo update
- name: Cargo update (fix for MSRV)
run: cargo update -p toml_edit --precise 0.19.8
if: matrix.rust == '1.63.0'
- run: RUSTFLAGS="-D warnings" cargo check

test_features:
Expand Down
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ version = "0.12.0"
authors = ["Pierre Chifflier <chifflier@wzdftpd.net>"]
categories = ["network-programming", "parser-implementations"]
edition = "2018"
rust-version = "1.63"

readme = "README.md"
build = "build.rs"
Expand Down Expand Up @@ -55,6 +56,8 @@ phf_codegen = "0.11"
allowed_external_types = [
"nom",
"nom::*",
"nom_derive::*",
"num_enum::*",
"phf::map::Map",
"rusticata_macros",
]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE-MIT)
[![Apache License 2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](./LICENSE-APACHE)
[![Crates.io Version](https://img.shields.io/crates/v/tls-parser.svg)](https://crates.io/crates/tls-parser)
[![Github CI](https://github.com/rusticata/der-parser/workflows/Continuous%20integration/badge.svg)](https://github.com/rusticata/der-parser/actions)
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.60.0+-lightgray.svg)](#rust-version-requirements)
[![GitHub CI](https://github.com/cpu/tls-parser/actions/workflows/rust.yml/badge.svg)](https://github.com/cpu/tls-parser/actions/workflows/rust.yml)
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.63.0+-lightgray.svg)](#rust-version-requirements)

# TLS Parser

Expand Down

0 comments on commit d31574a

Please sign in to comment.