Skip to content

Commit 07e90ff

Browse files
committed
Our minimum supported Rust version is 1.24.
This was already true, as we require rust-lang/rust#46094 to compile. This commit ensures that we test for this on CI so we know if this changes in the future.
1 parent 06fd746 commit 07e90ff

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ matrix:
6161
- SQLITE_DATABASE_URL=/tmp/test.db
6262
script:
6363
- (cd diesel_cli && travis-cargo test -- --no-default-features --features "sqlite-bundled")
64+
- rust: 1.24.1
65+
env:
66+
- ENSURE_SUPPORTED_RUST_VERSION=1.24.1
67+
script:
68+
- cargo check --all
6469

6570
env:
6671
matrix:

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/
4040

4141
[sql-function-1-3-0]: http://docs.diesel.rs/diesel/macro.sql_function.html
4242

43+
* Diesel's minimum supported Rust version is 1.24.0. This was already true, but
44+
it is now tested and enforced. Any future changes to our minimum supported
45+
version will be listed in this change log.
46+
4347
### Fixed
4448

4549
* `diesel print-schema` and `infer_schema!` now properly handle unsigned types

0 commit comments

Comments
 (0)