Skip to content

Commit

Permalink
Changed: Oldest supported rustc version to 1.31 from 1.24.
Browse files Browse the repository at this point in the history
 - Update oldest Travis CI version too.
 - Now using release.toml to update oldest supported rustc.
 - Now using release.toml to add new header to CHANGELOG.md.
  • Loading branch information
tov committed Mar 16, 2020
1 parent 7ff1de0 commit 19fd422
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ rust:
- stable
- beta
- nightly
- 1.24.0
- 1.31.0

matrix:
allow_failures:
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,13 @@ The format is based on [Keep a Changelog] and this project adheres to
[Keep a Changelog]: http://keepachangelog.com/en/1.0.0/
[Semantic Versioning]: http://semver.org/spec/v2.0.0.html

<!-- next-header -->

## [Unreleased]

### Changed
- Oldest supported rustc version is now 1.31.0.

## [0.11.0] - 2019-01-16

### Fixed
Expand Down
9 changes: 6 additions & 3 deletions release.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
upload-doc = true
pre-release-replacements = [
{ file="README.md", search="bv = \"[0-9.]*\"", replace="bv = \"{{version}}\"" },
{ file="src/lib.rs", search="bv = \"[0-9.]*\"", replace="bv = \"{{version}}\"" },
{ file="CHANGELOG.md", search="\\[Unreleased\\]", replace="[{{version}}] - {{date}}" }
{file="README.md", search="Rust version [0-9.]* and newer", replace="Rust version 1.31 and newer"},
{file="src/lib.rs", search="Rust version [0-9.]* and newer", replace="Rust version 1.31 and newer"},
{file="README.md", search="bv = \"[0-9.]*\"", replace="bv = \"{{version}}\""},
{file="src/lib.rs", search="bv = \"[0-9.]*\"", replace="bv = \"{{version}}\""},
{file="CHANGELOG.md", search="\\[Unreleased\\]", replace="[{{version}}] - {{date}}"},
{file="CHANGELOG.md", search="<!-- next-header -->", replace="<!-- next-header -->\n\n## [Unreleased]"},
]
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
//!
//! to your crate root.
//!
//! This crate supports Rust version 1.24 and newer.
//! This crate supports Rust version 1.31 and newer.
//!
//! [`BitVec`]: struct.BitVec.html
//! [`Bits`]: trait.Bits.html
Expand Down

0 comments on commit 19fd422

Please sign in to comment.