Skip to content

Commit

Permalink
Update MSRV to 1.40.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnTitor committed Apr 11, 2020
1 parent b12d9cc commit 90a8aa2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ addons:
services:
- mysql
before_install:
# install sqlite3 version 3.24.0
# install sqlite3 version 3.24.0
- |
if [[ "$BACKEND" == sqlite ]]; then
(sudo apt-get update) &&
Expand Down Expand Up @@ -87,7 +87,7 @@ matrix:
env: RUSTFLAGS="--cap-lints=warn"
script:
- (cd diesel_compile_tests && cargo test)
- rust: 1.37.0
- rust: 1.40.0
name: "Rustfmt && Clippy"
script:
- rustup component add rustfmt clippy
Expand All @@ -99,8 +99,8 @@ matrix:
- SQLITE_DATABASE_URL=/tmp/test.db
script:
- (cd diesel_cli && cargo test --no-default-features --features "sqlite-bundled")
- rust: 1.37.0
name: "Minimal supported rust version == 1.37.0"
- rust: 1.40.0
name: "Minimal supported rust version == 1.40.0"
script:
- cargo check --all

Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ for Rust libraries in [RFC #1105](https://github.com/rust-lang/rfcs/blob/master/
`Mysql::TypeMetadata`, you will need to take the new struct
`MysqlTypeMetadata` instead.

* The minimal officially supported rustc version is now 1.37.0
* The minimal officially supported rustc version is now 1.40.0

* The `RawValue` types for the `Mysql` and `Postgresql` backend where changed
from `[u8]` to distinct opaque types. If you used the concrete `RawValue` type
Expand Down
6 changes: 3 additions & 3 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ jobs:
- template: _build/install-rust.yml
parameters:
platform: Linux
rust_version: 1.36.0
rust_version: 1.40.0
- bash: |
sudo apt-get update &&
sudo apt-get -y install libsqlite3-dev libpq-dev libmysqlclient-dev
Expand Down Expand Up @@ -233,11 +233,11 @@ jobs:
- template: _build/install-rust.yml
parameters:
platform: Linux
rust_version: 1.36.0
rust_version: 1.40.0
- bash: |
sudo apt-get update &&
sudo apt-get install libpq-dev libmysqlclient-dev
displayName: Install build dependencies
- bash: |
cargo check --all
displayName: Check building with rust 1.36.0
displayName: Check building with rust 1.40.0
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.37.0
1.40.0

0 comments on commit 90a8aa2

Please sign in to comment.