Skip to content

Commit 8682bd1

Browse files
committed
Update benchmark dependencies
* Allow to use sqlx 0.5.10 which hopefully should fix the sqlite benchmarks * Update sea-orm to 0.5 * Remove quaint/sqlite as they use a old libsqlite3 version
1 parent 7360e3d commit 8682bd1

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/metrics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
uses: actions-rs/cargo@v1
7777
with:
7878
command: bench
79-
args: --manifest-path diesel_bench/Cargo.toml --no-default-features --features "${{matrix.backend}} sqlx-bench sqlx/${{matrix.backend}} tokio rusqlite futures sea-orm sea-orm/sqlx-${{matrix.backend}} criterion/async_tokio quaint quaint/sqlite quaint/serde-support serde"
79+
args: --manifest-path diesel_bench/Cargo.toml --no-default-features --features "${{matrix.backend}} sqlx-bench sqlx/${{matrix.backend}} tokio rusqlite futures sea-orm sea-orm/sqlx-${{matrix.backend}} criterion/async_tokio"
8080

8181
- name: Run Benchmarks (Mysql)
8282
if: matrix.backend == 'mysql'

diesel_bench/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,14 @@ dotenv = "0.15"
1414
criterion = "0.3.2"
1515
sqlx = {version = "0.5.0", features = ["runtime-tokio-rustls"], optional = true}
1616
tokio = {version = "1", optional = true}
17-
rusqlite = {version = "0.25", optional = true}
17+
rusqlite = {version = "0.26", optional = true}
1818
rust_postgres = {version = "0.19", optional = true, package = "postgres"}
1919
rust_mysql = {version = "21.0.1", optional = true, package = "mysql"}
2020
rustorm = {version = "0.20", optional = true}
2121
rustorm_dao = {version = "0.20", optional = true}
2222
quaint = {version = "0.2.0-alpha.13", optional = true}
2323
serde = {version = "1", optional = true, features = ["derive"]}
24-
sea-orm = {version = "0.3", optional = true, features = ["runtime-tokio-rustls"]}
24+
sea-orm = {version = "0.5", optional = true, features = ["runtime-tokio-rustls"]}
2525
futures = {version = "0.3", optional = true}
2626

2727
[dependencies.diesel]

0 commit comments

Comments
 (0)