Commit 9495442
committed
Adjust runtime feature validation logic
Removes compile-time checks in `sqlx-rt` that prevented
multiple runtime features (_rt-actix, _rt-async-std,
_rt-tokio) from being enabled simultaneously. The TLS
feature conflict check is also modified to error if
`_tls-rustls` is enabled, rather than when both TLS
backends are active.
CI changes:
- Expand `check` job matrix to include async-std and actix runtimes.
- Pin one `cargo check` invocation to `runtime-tokio-rustls`.
- Remove `--all-targets` from two `cargo check` invocations.
Fixes a typo in `sqlx-macros` (`procmacr2` -> `procmacro2`).1 parent b508f37 commit 9495442
2 files changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | 34 | | |
36 | 35 | | |
37 | 36 | | |
38 | | - | |
39 | | - | |
40 | | - | |
| 37 | + | |
41 | 38 | | |
42 | 39 | | |
43 | 40 | | |
44 | 41 | | |
45 | | - | |
| 42 | + | |
46 | 43 | | |
47 | 44 | | |
48 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
135 | | - | |
| 135 | + | |
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| |||
0 commit comments