Skip to content

Commit

Permalink
ci: increase MSRV to 1.65
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede committed Jul 8, 2023
1 parent 374769a commit 0c83111
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion .clippy.toml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
version: [1.59.0, stable, nightly]
version: [1.65.0, stable, nightly]

name: tests / ${{ matrix.version }}
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

- Update `mysql` dependency to `24`.
- Remove deprecated `MysqlConnectionManager` type alias.
- Minimum supported Rust version (MSRV) is now 1.65 due to transitive dependencies.

## 23.0.0

Expand Down
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ license = "MIT"
description = "MySQL support for the r2d2 connection pool"
repository = "https://github.com/outersky/r2d2-mysql.git"
keywords = ["mysql", "sql", "pool", "database", "r2d2"]
edition = "2018"
edition = "2021"
rust-version = "1.65"

[dependencies]
r2d2 = "0.8.9"
Expand Down
3 changes: 2 additions & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -eEuxo pipefail

DATABASE_NAME="rust_mysql_test"
export DATABASE_URL="mysql://root@localhost:3306/${DATABASE_NAME}"

Expand All @@ -11,4 +13,3 @@ cargo test

# Clean up after ourselves and drop the database
mysql -uroot -e "DROP DATABASE ${DATABASE_NAME}"

0 comments on commit 0c83111

Please sign in to comment.