Skip to content

Commit

Permalink
Our minimum supported Rust version is 1.24.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
sgrif committed May 22, 2018
1 parent 06fd746 commit 07e90ff
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ matrix:
- SQLITE_DATABASE_URL=/tmp/test.db
script:
- (cd diesel_cli && travis-cargo test -- --no-default-features --features "sqlite-bundled")
- rust: 1.24.1
env:
- ENSURE_SUPPORTED_RUST_VERSION=1.24.1
script:
- cargo check --all

env:
matrix:
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/

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

* Diesel's minimum supported Rust version is 1.24.0. This was already true, but
it is now tested and enforced. Any future changes to our minimum supported
version will be listed in this change log.

### Fixed

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

0 comments on commit 07e90ff

Please sign in to comment.