Skip to content

Commit

Permalink
raise MSRV to 1.46
Browse files Browse the repository at this point in the history
bitflags in lexical will not compile below 1.46
  • Loading branch information
Geal committed Aug 13, 2021
1 parent 4f046c6 commit ef5e0bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- stable
- beta
- nightly
- 1.44.0
- 1.46.0

features:
- ''
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
[![Build Status](https://travis-ci.org/Geal/nom.svg?branch=master)](https://travis-ci.org/Geal/nom)
[![Coverage Status](https://coveralls.io/repos/Geal/nom/badge.svg?branch=master)](https://coveralls.io/r/Geal/nom?branch=master)
[![Crates.io Version](https://img.shields.io/crates/v/nom.svg)](https://crates.io/crates/nom)
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.44.0+-lightgray.svg)](#rust-version-requirements)
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.46.0+-lightgray.svg)](#rust-version-requirements)

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

## Rust version requirements

The 6.0 series of nom requires **Rustc version 1.44 or greater**, but it can change for some feature combinations:
The 7.0 series of nom requires **Rustc version 1.46 or greater**, but it can change for some feature combinations:
- compatible with 1.41.1 if building without the `lexical` feature, ie `--no-default-features --features std`

Travis CI always has a build with a pinned version of Rustc matching the oldest supported Rust release.
The current policy is that this will only be updated in the next major nom release.

## Installation
Expand Down

0 comments on commit ef5e0bb

Please sign in to comment.