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
This commit is contained in:
martin-kolarik
2025-09-08 20:17:55 +02:00
committed by GitHub
parent 482c9427a9
commit 6b828e698f
20 changed files with 1293 additions and 842 deletions

View File

@@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
runtime: [ async-std, tokio ]
runtime: [ async-std, async-global-executor, smol, tokio ]
tls: [ native-tls, rustls, none ]
timeout-minutes: 30
steps:
@@ -122,7 +122,7 @@ jobs:
runs-on: ubuntu-24.04
strategy:
matrix:
runtime: [ async-std, tokio ]
runtime: [ async-global-executor, smol, tokio ]
linking: [ sqlite, sqlite-unbundled ]
needs: check
timeout-minutes: 30
@@ -208,7 +208,7 @@ jobs:
strategy:
matrix:
postgres: [ 17, 13 ]
runtime: [ async-std, tokio ]
runtime: [ async-global-executor, smol, tokio ]
tls: [ native-tls, rustls-aws-lc-rs, rustls-ring, none ]
needs: check
timeout-minutes: 30
@@ -330,7 +330,7 @@ jobs:
strategy:
matrix:
mysql: [ 8 ]
runtime: [ async-std, tokio ]
runtime: [ async-global-executor, smol, tokio ]
tls: [ native-tls, rustls-aws-lc-rs, rustls-ring, none ]
needs: check
timeout-minutes: 30
@@ -431,7 +431,7 @@ jobs:
strategy:
matrix:
mariadb: [ verylatest, 11_8, 11_4, 10_11, 10_6 ]
runtime: [ async-std, tokio ]
runtime: [ async-global-executor, smol, tokio ]
tls: [ native-tls, rustls-aws-lc-rs, rustls-ring, none ]
needs: check
timeout-minutes: 30