Skip to content

Commit

Permalink
Fix the CI for nightly + minimal crate versions and also for the MSRV
Browse files Browse the repository at this point in the history
- Change the following dev dependencies for nightly + minimal crate versions:
  - Switch back to native-tls in reqwest.
- Change the following dev dependencies for the MSRV 1.60.0:
  - Pin async-global-executor version to v2.3.1.
  - Pin blocking version to v1.4.1.
  • Loading branch information
tatsuya6502 committed Dec 12, 2023
1 parent ac5c554 commit a1c2fa8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .ci_extras/pin-crate-vers-msrv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ set -eux
# Pin some dependencies to specific versions for the MSRV.
cargo update -p tempfile --precise 3.6.0
cargo update -p tokio --precise 1.29.1
cargo update -p async-global-executor --precise 2.3.1
cargo update -p async-executor --precise 1.5.1
cargo update -p blocking --precise 1.4.1
cargo update -p reqwest --precise 0.11.18
cargo update -p regex --precise 1.9.6
cargo update -p memchr --precise 2.6.2
Expand Down
2 changes: 2 additions & 0 deletions .ci_extras/pin-crate-vers-nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,6 @@
set -eux

# Pin some dependencies to specific versions for the nightly toolchain.
cargo update -p openssl --precise 0.10.39
cargo update -p cc --precise 1.0.61
cargo update -p proc-macro2 --precise 1.0.60
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ async-std = { version = "1.11", features = ["attributes"] }
env_logger = "0.9"
getrandom = "0.2"
paste = "1.0.9"
reqwest = { version = "0.11.11", default-features = false, features = ["rustls-tls"] }
reqwest = "0.11.11"
skeptic = "0.13"
tokio = { version = "1.19", features = ["fs", "macros", "rt-multi-thread", "sync", "time" ] }

Expand Down

0 comments on commit a1c2fa8

Please sign in to comment.