Skip to content

Commit

Permalink
raise the minimum Rust version to 1.37
Browse files Browse the repository at this point in the history
this is caused by the static_assertions dependency of lexical-core
  • Loading branch information
Geal committed Apr 10, 2020
1 parent 61772cd commit 563bf0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ rust:
- nightly
- beta
- stable
- 1.36.0
- 1.37.0

env:
matrix:
Expand All @@ -24,6 +24,9 @@ matrix:
env: FEATURES=''
- rust: stable
env: FEATURES='--no-default-features'
# still compatible with 1.36.0 if not using lexical-core
- rust: 1.36.0
env: FEATURES='--no-default-features --features std'
- rust: stable
env: FEATURES='--no-default-features --features "alloc"'
- rust: nightly
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ Some benchmarks are available on [Github](https://github.com/Geal/nom_benchmarks

## Rust version requirements

The 5.0 series of nom requires **Rustc version 1.36 or greater**.
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).

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.
Expand Down

0 comments on commit 563bf0c

Please sign in to comment.