Skip to content

Commit 6b828e6

Browse files
Smol+async global executor 1.80 dev (#3791)
* Sqlx-core: rename async_io dependency for async-std * Sqlx-core: simplify TimeoutError * Sqlx-core: code for async-global-executor * Sqlx: integrate async-global-executor feature * Note to unsafe * Step up MSRV as async-global-executor needs it * Sqlx-core: fix of unix socket build * Unsafe fixes, smol executor added * Workflow fix * Changes outside sqlx_rt * Cleanup conditional rt compilation * Warning * Add executors to test matrix * Fix of skipping code sqlite due to mismatch in cargo feature names * Smol executor isolated * Fix, reduce number of tests, remove async_std * Fix of test_block_on, regression * Format fixes * async-global-executor added * async-std changed to 1.13 * litemap, zerofrom requires rustc 1.81 * Fix of missing _sqlite in cargo.toml * Clippy lints * Clean up * Remove features combinations * Fixes after merge * Fix of compiling connect_tcp_address with both tokio + other executor selected * Try to fix CI -Z minimal-versions check Try to fix CI -Z minimal-versions check
1 parent 482c942 commit 6b828e6

File tree

20 files changed

+1291
-840
lines changed

20 files changed

+1291
-840
lines changed

.github/workflows/sqlx.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-24.04
2323
strategy:
2424
matrix:
25-
runtime: [ async-std, tokio ]
25+
runtime: [ async-std, async-global-executor, smol, tokio ]
2626
tls: [ native-tls, rustls, none ]
2727
timeout-minutes: 30
2828
steps:
@@ -122,7 +122,7 @@ jobs:
122122
runs-on: ubuntu-24.04
123123
strategy:
124124
matrix:
125-
runtime: [ async-std, tokio ]
125+
runtime: [ async-global-executor, smol, tokio ]
126126
linking: [ sqlite, sqlite-unbundled ]
127127
needs: check
128128
timeout-minutes: 30
@@ -208,7 +208,7 @@ jobs:
208208
strategy:
209209
matrix:
210210
postgres: [ 17, 13 ]
211-
runtime: [ async-std, tokio ]
211+
runtime: [ async-global-executor, smol, tokio ]
212212
tls: [ native-tls, rustls-aws-lc-rs, rustls-ring, none ]
213213
needs: check
214214
timeout-minutes: 30
@@ -330,7 +330,7 @@ jobs:
330330
strategy:
331331
matrix:
332332
mysql: [ 8 ]
333-
runtime: [ async-std, tokio ]
333+
runtime: [ async-global-executor, smol, tokio ]
334334
tls: [ native-tls, rustls-aws-lc-rs, rustls-ring, none ]
335335
needs: check
336336
timeout-minutes: 30
@@ -431,7 +431,7 @@ jobs:
431431
strategy:
432432
matrix:
433433
mariadb: [ verylatest, 11_8, 11_4, 10_11, 10_6 ]
434-
runtime: [ async-std, tokio ]
434+
runtime: [ async-global-executor, smol, tokio ]
435435
tls: [ native-tls, rustls-aws-lc-rs, rustls-ring, none ]
436436
needs: check
437437
timeout-minutes: 30

0 commit comments

Comments
 (0)