Skip to content

Commit af14052

Browse files
committed
MSRV fixes
1 parent a78b11f commit af14052

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All user visible changes to this project will be documented in this file.
44
This project adheres to [Semantic Versioning](http://semver.org/), as described
55
for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/text/1105-api-evolution.md)
66

7+
## 2.3.1 - 2025-07-06
8+
9+
* Remove `display()` call in `build.rs` that would require MSRV 1.88.
10+
* Bump MSRV to 1.77 (it was previously 1.56 but was not tested).
11+
712
## 2.3.0 - 2025-07-05
813

914
* Add support for `extract` in pattern definitions, allowing the `extract` in

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "grok"
3-
version = "2.3.0"
3+
version = "2.3.1"
44
authors = ["Matt Mastracci <[email protected]>", "Michael Nitschinger <[email protected]>"]
55
license = "Apache-2.0"
66
readme = "README.md"
@@ -15,7 +15,7 @@ patterns.
1515
categories = ["text-processing"]
1616
build = "build.rs"
1717
edition = "2021"
18-
rust-version = "1.56"
18+
rust-version = "1.77"
1919

2020
[features]
2121
default = ["onig"]

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ fn main() {
8181
.first()
8282
.unwrap()
8383
.2
84-
.display()
84+
.to_string_lossy()
8585
.to_string()
8686
.replace('-', "_");
8787
fmt::write(&mut output, format_args!("\npub mod {name} {{\n")).unwrap();

0 commit comments

Comments
 (0)