File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -10,20 +10,15 @@ cargo update -p serde_derive --precise 1.0.142
10
10
cargo --version
11
11
rustc --version
12
12
13
- # Work out if we are using a nightly toolchain.
14
- MSRV=false
13
+ # Pin dependencies required to build with Rust 1.41.1
15
14
if cargo --version | grep " 1\.41\.0" ; then
16
- MSRV=true
17
- fi
18
-
19
- if cargo --version | grep " 1\.47\.0" ; then
15
+ cargo update -p url --precise 2.2.2
16
+ cargo update -p form_urlencoded --precise 1.0.1
20
17
cargo update -p once_cell --precise 1.13.1
21
18
fi
22
19
23
- # form_urlencoded 1.1.0 breaks MSRV.
24
- if [ " $MSRV " = true ]; then
25
- cargo update -p url --precise 2.2.2
26
- cargo update -p form_urlencoded --precise 1.0.1
20
+ # Pin dependencies required to build with Rust 1.47.0
21
+ if cargo --version | grep " 1\.47\.0" ; then
27
22
cargo update -p once_cell --precise 1.13.1
28
23
fi
29
24
You can’t perform that action at this time.
0 commit comments