Skip to content

Commit 120c36e

Browse files
committedOct 7, 2020
raise the minimum supported version
Bitvec works from Rust 1.44.0
1 parent 3e19239 commit 120c36e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed
 

‎.travis.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ rust:
88
- nightly
99
- beta
1010
- stable
11-
- 1.37.0
11+
- 1.44.0
1212

1313
env:
1414
matrix:
@@ -25,8 +25,8 @@ matrix:
2525
- rust: stable
2626
env: FEATURES='--no-default-features'
2727
# still compatible with 1.36.0 if not using lexical-core
28-
- rust: 1.36.0
29-
env: FEATURES='--no-default-features --features std'
28+
- rust: 1.37.0
29+
env: FEATURES='--no-default-features --features "regexp lexical"'
3030
- rust: stable
3131
env: FEATURES='--no-default-features --features "alloc"'
3232
- rust: nightly

‎README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[![Build Status](https://travis-ci.org/Geal/nom.svg?branch=master)](https://travis-ci.org/Geal/nom)
66
[![Coverage Status](https://coveralls.io/repos/Geal/nom/badge.svg?branch=master)](https://coveralls.io/r/Geal/nom?branch=master)
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.36.0+-lightgray.svg)](#rust-version-requirements)
8+
[![Minimum rustc version](https://img.shields.io/badge/rustc-1.44.0+-lightgray.svg)](#rust-version-requirements)
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
@@ -188,7 +188,7 @@ Some benchmarks are available on [Github](https://github.com/Geal/nom_benchmarks
188188

189189
## Rust version requirements
190190

191-
The 5.0 series of nom requires **Rustc version 1.37 or greater** (compatible with 1.36 if building without the `lexical` feature which includes the `lexical-core` dependency).
191+
The 6.0 series of nom requires **Rustc version 1.44 or greater** (compatible with 1.37 if building without the `alloc` or `std` features, ie `--no-default-features --features="regex,lexical"`).
192192

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

‎build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extern crate version_check;
22

33
fn main() {
4-
if version_check::is_min_version("1.28.0").unwrap_or(true) {
4+
if version_check::is_min_version("1.44.0").unwrap_or(true) {
55
println!("cargo:rustc-cfg=stable_i128");
66
}
77
}

0 commit comments

Comments
 (0)