Skip to content

Commit 6ae1fd8

Browse files
committed
Increase rust min version up to 1.50
1 parent ca3f431 commit 6ae1fd8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI
33
on: [push, pull_request]
44

55
env:
6-
RUST_MINVERSION: 1.41.1
6+
RUST_MINVERSION: "1.50"
77
CARGO_INCREMENTAL: 0
88
CARGO_NET_RETRY: 10
99

@@ -18,7 +18,7 @@ jobs:
1818
- stable
1919
- beta
2020
- nightly
21-
- 1.48.0
21+
- 1.50.0
2222

2323
features:
2424
- ''

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ edition = "2018"
1414
autoexamples = false
1515

1616
# also update in README.md (badge and "Rust version requirements" section)
17-
rust-version = "1.48"
17+
rust-version = "1.50"
1818

1919
include = [
2020
"CHANGELOG.md",

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Build Status](https://github.com/Geal/nom/actions/workflows/ci.yml/badge.svg)](https://github.com/Geal/nom/actions/workflows/ci.yml)
66
[![Coverage Status](https://coveralls.io/repos/github/Geal/nom/badge.svg?branch=main)](https://coveralls.io/github/Geal/nom?branch=main)
77
[![Crates.io Version](https://img.shields.io/crates/v/nom.svg)](https://crates.io/crates/nom)
8-
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.48.0+-lightgray.svg)](#rust-version-requirements-msrv)
8+
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.50.0+-lightgray.svg)](#rust-version-requirements-msrv)
99

1010
nom is a parser combinators library written in Rust. Its goal is to provide tools
1111
to build safe parsers without compromising the speed or memory consumption. To
@@ -207,7 +207,7 @@ Some benchmarks are available on [Github](https://github.com/Geal/nom_benchmarks
207207

208208
## Rust version requirements (MSRV)
209209

210-
The 7.0 series of nom supports **Rustc version 1.48 or greater**. It is known to work properly on Rust 1.41.1 but there is no guarantee it will stay the case through this major release.
210+
The 7.0 series of nom supports **Rustc version 1.50 or greater**. It is known to work properly on Rust 1.41.1 but there is no guarantee it will stay the case through this major release.
211211

212212
The current policy is that this will only be updated in the next major nom release.
213213

src/error.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ pub fn append_error<I, E: ParseError<I>>(input: I, kind: ErrorKind, other: E) ->
152152
pub struct VerboseError<I> {
153153
/// List of errors accumulated by `VerboseError`, containing the affected
154154
/// part of input data, and some context
155-
pub errors: Vec<(I, VerboseErrorKind)>,
155+
pub errors: crate::lib::std::vec::Vec<(I, VerboseErrorKind)>,
156156
}
157157

158158
#[cfg(feature = "alloc")]

0 commit comments

Comments
 (0)